| Index: google_apis/gaia/fake_gaia.h
|
| diff --git a/google_apis/gaia/fake_gaia.h b/google_apis/gaia/fake_gaia.h
|
| index ec9ee169258f1496e8601f401852f0570fd09425..b66c02fa8593e531a785bfafee24f9d3eaae86e8 100644
|
| --- a/google_apis/gaia/fake_gaia.h
|
| +++ b/google_apis/gaia/fake_gaia.h
|
| @@ -113,6 +113,10 @@ class FakeGaia {
|
| // to the associated redirect endpoint.
|
| void RegisterSamlUser(const std::string& account_id, const GURL& saml_idp);
|
|
|
| + void set_issue_oauth_code_cookie(bool value) {
|
| + issue_oauth_code_cookie_ = value;
|
| + }
|
| +
|
| // Extracts the parameter named |key| from |query| and places it in |value|.
|
| // Returns false if no parameter is found.
|
| static bool GetQueryParameter(const std::string& query,
|
| @@ -135,6 +139,9 @@ class FakeGaia {
|
| net::test_server::BasicHttpResponse* http_response,
|
| const std::string& email) const;
|
|
|
| + void SetOAuthCodeCookie(
|
| + net::test_server::BasicHttpResponse* http_response) const;
|
| +
|
| // Formats a JSON response with the data in |response_dict|.
|
| void FormatJSONResponse(const base::DictionaryValue& response_dict,
|
| net::test_server::BasicHttpResponse* http_response);
|
| @@ -192,6 +199,7 @@ class FakeGaia {
|
| RequestHandlerMap request_handlers_;
|
| std::string service_login_response_;
|
| SamlAccountIdpMap saml_account_idp_map_;
|
| + bool issue_oauth_code_cookie_;
|
|
|
| DISALLOW_COPY_AND_ASSIGN(FakeGaia);
|
| };
|
|
|