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

Unified Diff: google_apis/gaia/fake_gaia.h

Issue 418043002: Add test for showing confirmation dialog for unsecure signin (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: trybot errors fixed Created 6 years, 4 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 side-by-side diff with in-line comments
Download patch
Index: google_apis/gaia/fake_gaia.h
diff --git a/google_apis/gaia/fake_gaia.h b/google_apis/gaia/fake_gaia.h
index 13a63e6b228cfe477b5adaeffa136f9ccbcbc6d7..4db3b842e1ae7ad6ad17b947283822bd4cdbd5ff 100644
--- a/google_apis/gaia/fake_gaia.h
+++ b/google_apis/gaia/fake_gaia.h
@@ -79,6 +79,10 @@ class FakeGaia {
FakeGaia();
virtual ~FakeGaia();
+ void SetFakeMergeSessionParams(const std::string& email,
+ const std::string& auth_sid_cookie,
+ const std::string& auth_lsid_cookie);
+
// Sets the initial value of tokens and cookies.
void SetMergeSessionParams(const MergeSessionParams& params);
@@ -152,6 +156,8 @@ class FakeGaia {
net::test_server::BasicHttpResponse* http_response);
void HandlePeopleGet(const net::test_server::HttpRequest& request,
net::test_server::BasicHttpResponse* http_response);
+ void HandleGetUserInfo(const net::test_server::HttpRequest& request,
+ net::test_server::BasicHttpResponse* http_response);
// Returns the access token associated with |auth_token| that matches the
// given |client_id| and |scope_string|. If |scope_string| is empty, the first

Powered by Google App Engine
This is Rietveld 408576698