Check that the user is signed in and the app has oauth2 section before recording an aouth2 grant.

Review URL: https://chromiumcodereview.appspot.com/11066125

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@161643 0039d316-1c4b-4281-b951-d872f2087c98
2 files changed