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

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: 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..a9d5789451b252ff11d819142b69773e9563b3e5 100644
--- a/google_apis/gaia/fake_gaia.h
+++ b/google_apis/gaia/fake_gaia.h
@@ -79,6 +79,8 @@ class FakeGaia {
FakeGaia();
virtual ~FakeGaia();
+ void SetFakeMergeSessionParamsForEmail(const std::string& email);
+
// Sets the initial value of tokens and cookies.
void SetMergeSessionParams(const MergeSessionParams& params);
@@ -152,6 +154,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