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

Side by Side Diff: google_apis/gaia/fake_gaia.h

Issue 276463002: non-new-profile-management creates a "no-op" style account_reconcilor, (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Nits Created 6 years, 6 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
« no previous file with comments | « components/signin/core/browser/test_signin_client.cc ('k') | google_apis/gaia/fake_gaia.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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 GOOGLE_APIS_GAIA_FAKE_GAIA_H_ 5 #ifndef GOOGLE_APIS_GAIA_FAKE_GAIA_H_
6 #define GOOGLE_APIS_GAIA_FAKE_GAIA_H_ 6 #define GOOGLE_APIS_GAIA_FAKE_GAIA_H_
7 7
8 #include <map> 8 #include <map>
9 #include <set> 9 #include <set>
10 #include <string> 10 #include <string>
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after
143 void HandleSSO(const net::test_server::HttpRequest& request, 143 void HandleSSO(const net::test_server::HttpRequest& request,
144 net::test_server::BasicHttpResponse* http_response); 144 net::test_server::BasicHttpResponse* http_response);
145 void HandleAuthToken(const net::test_server::HttpRequest& request, 145 void HandleAuthToken(const net::test_server::HttpRequest& request,
146 net::test_server::BasicHttpResponse* http_response); 146 net::test_server::BasicHttpResponse* http_response);
147 void HandleTokenInfo(const net::test_server::HttpRequest& request, 147 void HandleTokenInfo(const net::test_server::HttpRequest& request,
148 net::test_server::BasicHttpResponse* http_response); 148 net::test_server::BasicHttpResponse* http_response);
149 void HandleIssueToken(const net::test_server::HttpRequest& request, 149 void HandleIssueToken(const net::test_server::HttpRequest& request,
150 net::test_server::BasicHttpResponse* http_response); 150 net::test_server::BasicHttpResponse* http_response);
151 void HandleListAccounts(const net::test_server::HttpRequest& request, 151 void HandleListAccounts(const net::test_server::HttpRequest& request,
152 net::test_server::BasicHttpResponse* http_response); 152 net::test_server::BasicHttpResponse* http_response);
153 void HandlePeopleGet(const net::test_server::HttpRequest& request,
154 net::test_server::BasicHttpResponse* http_response);
153 155
154 // Returns the access token associated with |auth_token| that matches the 156 // Returns the access token associated with |auth_token| that matches the
155 // given |client_id| and |scope_string|. If |scope_string| is empty, the first 157 // given |client_id| and |scope_string|. If |scope_string| is empty, the first
156 // token satisfying the other criteria is returned. Returns NULL if no token 158 // token satisfying the other criteria is returned. Returns NULL if no token
157 // matches. 159 // matches.
158 const AccessTokenInfo* FindAccessTokenInfo(const std::string& auth_token, 160 const AccessTokenInfo* FindAccessTokenInfo(const std::string& auth_token,
159 const std::string& client_id, 161 const std::string& client_id,
160 const std::string& scope_string) 162 const std::string& scope_string)
161 const; 163 const;
162 164
163 MergeSessionParams merge_session_params_; 165 MergeSessionParams merge_session_params_;
164 AccessTokenInfoMap access_token_info_map_; 166 AccessTokenInfoMap access_token_info_map_;
165 RequestHandlerMap request_handlers_; 167 RequestHandlerMap request_handlers_;
166 std::string service_login_response_; 168 std::string service_login_response_;
167 SamlAccountIdpMap saml_account_idp_map_; 169 SamlAccountIdpMap saml_account_idp_map_;
168 170
169 DISALLOW_COPY_AND_ASSIGN(FakeGaia); 171 DISALLOW_COPY_AND_ASSIGN(FakeGaia);
170 }; 172 };
171 173
172 #endif // GOOGLE_APIS_GAIA_FAKE_GAIA_H_ 174 #endif // GOOGLE_APIS_GAIA_FAKE_GAIA_H_
OLDNEW
« no previous file with comments | « components/signin/core/browser/test_signin_client.cc ('k') | google_apis/gaia/fake_gaia.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698