summaryrefslogtreecommitdiffstats
path: root/chrome/chrome_common.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_common.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_common.gypi')
-rw-r--r--chrome/chrome_common.gypi2
1 files changed, 2 insertions, 0 deletions
diff --git a/chrome/chrome_common.gypi b/chrome/chrome_common.gypi
index c99d408..f9b6663 100644
--- a/chrome/chrome_common.gypi
+++ b/chrome/chrome_common.gypi
@@ -409,6 +409,8 @@
'common/net/gaia/oauth2_access_token_consumer.h',
'common/net/gaia/oauth2_access_token_fetcher.cc',
'common/net/gaia/oauth2_access_token_fetcher.h',
+ 'common/net/gaia/oauth2_api_call_flow.cc',
+ 'common/net/gaia/oauth2_api_call_flow.h',
'common/net/gaia/oauth2_mint_token_consumer.h',
'common/net/gaia/oauth2_mint_token_fetcher.cc',
'common/net/gaia/oauth2_mint_token_fetcher.h',