Source code must follow Google Code Style.
Google has created a number of integrations for IDEs, build systems, etc, which you can find HERE.
All source code files must have a license header. Just copy a header from an existing file.
By contributing your code, you agree to license your contribution under the terms of the LICENSE