Chromium Code Reviews| Index: google_apis/gaia/gaia_auth_util.h |
| diff --git a/google_apis/gaia/gaia_auth_util.h b/google_apis/gaia/gaia_auth_util.h |
| index d9fbf04a7083dd2634fd58fb053d26ce7c4797fe..f71ad99ebd9480e2a94724139a8c6376d212fe2d 100644 |
| --- a/google_apis/gaia/gaia_auth_util.h |
| +++ b/google_apis/gaia/gaia_auth_util.h |
| @@ -11,6 +11,11 @@ |
| class GURL; |
| +namespace net { |
| +class URLRequest; |
| +class URLFetcher; |
|
tbansal1
2017/01/23 21:03:05
nit: Alphabetical order.
Raj
2017/01/23 21:53:02
Done.
|
| +}; |
|
tbansal1
2017/01/23 21:03:05
// namespace net
Also rm semicolon
Raj
2017/01/23 21:53:02
Done.
|
| + |
| namespace gaia { |
| struct ListedAccount { |
| @@ -59,6 +64,12 @@ bool ParseListAccountsData(const std::string& data, |
| std::vector<ListedAccount>* accounts, |
| std::vector<ListedAccount>* signed_out_accounts); |
| +// Returns true if the URL request originated from GAIA. |
| +bool RequestOriginatedFromGaia(const net::URLRequest& request); |
| + |
| +// Marks the URL request as a Gaia request. |
| +void MarkURLFetcherAsGaia(net::URLFetcher* request); |
| + |
| } // namespace gaia |
| #endif // GOOGLE_APIS_GAIA_GAIA_AUTH_UTIL_H_ |