Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1270)

Side by Side Diff: chrome/browser/extensions/api/identity/identity_api.h

Issue 10928017: Moving google_apis and GaiaClient to src/google_apis. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge to head Created 8 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_EXTENSIONS_API_IDENTITY_IDENTITY_API_H_ 5 #ifndef CHROME_BROWSER_EXTENSIONS_API_IDENTITY_IDENTITY_API_H_
6 #define CHROME_BROWSER_EXTENSIONS_API_IDENTITY_IDENTITY_API_H_ 6 #define CHROME_BROWSER_EXTENSIONS_API_IDENTITY_IDENTITY_API_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/memory/ref_counted.h" 10 #include "base/memory/ref_counted.h"
11 #include "base/memory/weak_ptr.h" 11 #include "base/memory/weak_ptr.h"
12 #include "chrome/browser/extensions/api/identity/web_auth_flow.h" 12 #include "chrome/browser/extensions/api/identity/web_auth_flow.h"
13 #include "chrome/browser/extensions/app_notify_channel_setup.h" 13 #include "chrome/browser/extensions/app_notify_channel_setup.h"
14 #include "chrome/browser/extensions/extension_function.h"
14 #include "chrome/browser/extensions/extension_install_prompt.h" 15 #include "chrome/browser/extensions/extension_install_prompt.h"
15 #include "chrome/browser/extensions/extension_function.h"
16 #include "chrome/browser/ui/webui/signin/login_ui_service.h" 16 #include "chrome/browser/ui/webui/signin/login_ui_service.h"
17 #include "chrome/common/net/gaia/oauth2_mint_token_flow.h" 17 #include "google_apis/gaia/oauth2_mint_token_flow.h"
18 18
19 class GetAuthTokenFunctionTest; 19 class GetAuthTokenFunctionTest;
20 class MockGetAuthTokenFunction; 20 class MockGetAuthTokenFunction;
21 class GoogleServiceAuthError; 21 class GoogleServiceAuthError;
22 22
23 namespace extensions { 23 namespace extensions {
24 24
25 namespace identity_constants { 25 namespace identity_constants {
26 extern const char kInvalidClientId[]; 26 extern const char kInvalidClientId[];
27 extern const char kInvalidScopes[]; 27 extern const char kInvalidScopes[];
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
106 // WebAuthFlow::Delegate implementation. 106 // WebAuthFlow::Delegate implementation.
107 virtual void OnAuthFlowSuccess(const std::string& redirect_url) OVERRIDE; 107 virtual void OnAuthFlowSuccess(const std::string& redirect_url) OVERRIDE;
108 virtual void OnAuthFlowFailure() OVERRIDE; 108 virtual void OnAuthFlowFailure() OVERRIDE;
109 109
110 scoped_ptr<WebAuthFlow> auth_flow_; 110 scoped_ptr<WebAuthFlow> auth_flow_;
111 }; 111 };
112 112
113 } // namespace extensions 113 } // namespace extensions
114 114
115 #endif // CHROME_BROWSER_EXTENSIONS_API_IDENTITY_IDENTITY_API_H_ 115 #endif // CHROME_BROWSER_EXTENSIONS_API_IDENTITY_IDENTITY_API_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/settings/cros_settings.cc ('k') | chrome/browser/extensions/api/identity/identity_apitest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698