| 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..3c5a16bbcdcf3c5f8c2bee274a609d8b6963cd68 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 URLFetcher;
|
| +class URLRequest;
|
| +} // namespace net
|
| +
|
| 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_
|
|
|