Avoid deferencing a pointer before checking it.

This issue was found by a linter.

R=frankf@chromium.org

BUG=

Review URL: https://codereview.chromium.org/149543004

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@247830 0039d316-1c4b-4281-b951-d872f2087c98
Use the proper name for the app info protobuf to mach the sync server

BUG=339094

Review URL: https://codereview.chromium.org/149723003

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@247831 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 247831