summaryrefslogtreecommitdiffstats
path: root/chrome/chrome_tests.gypi
diff options
context:
space:
mode:
authormunjal@chromium.org <munjal@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-03-30 22:20:55 +0000
committermunjal@chromium.org <munjal@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-03-30 22:20:55 +0000
commit944867ff8ad818a840d6d21937dc223cac91b587 (patch)
tree5039f4e55d04d31fcd6ec442285a67e22f242f1d /chrome/chrome_tests.gypi
parent2db7a1e553778e297baa318e65b8279b2ac90ff9 (diff)
downloadchromium_src-944867ff8ad818a840d6d21937dc223cac91b587.zip
chromium_src-944867ff8ad818a840d6d21937dc223cac91b587.tar.gz
chromium_src-944867ff8ad818a840d6d21937dc223cac91b587.tar.bz2
Create an abstract flow class that abstracts the following logical steps of calling an OAuth2 enabled API:
- Try existing access token to call the API. - If that does not work, generate a new one. - Try the new access token This abstract class should be used by any code that calls OAuth2 APIs. Examples: - Getting profile picture - Cloud print - App notifications Future CLs coming to replace existing duplicate code in individual places to use this class. Review URL: https://chromiumcodereview.appspot.com/9937004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@129970 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/chrome_tests.gypi')
-rw-r--r--chrome/chrome_tests.gypi1
1 files changed, 1 insertions, 0 deletions
diff --git a/chrome/chrome_tests.gypi b/chrome/chrome_tests.gypi
index 997ae3f..e180a03 100644
--- a/chrome/chrome_tests.gypi
+++ b/chrome/chrome_tests.gypi
@@ -2078,6 +2078,7 @@
'common/net/gaia/google_service_auth_error_unittest.cc',
'common/net/gaia/oauth_request_signer_unittest.cc',
'common/net/gaia/oauth2_access_token_fetcher_unittest.cc',
+ 'common/net/gaia/oauth2_api_call_flow_unittest.cc',
'common/net/gaia/oauth2_mint_token_fetcher_unittest.cc',
'common/net/gaia/oauth2_mint_token_flow_unittest.cc',
'common/net/gaia/oauth2_revocation_fetcher_unittest.cc',