Index: google_apis/gaia/oauth2_api_call_flow.h |
diff --git a/google_apis/gaia/oauth2_api_call_flow.h b/google_apis/gaia/oauth2_api_call_flow.h |
index fd4c660732baedb2d627df8e74563bf0176c117a..5aa3399e1c17288d868a430253d88b3286de85b3 100644 |
--- a/google_apis/gaia/oauth2_api_call_flow.h |
+++ b/google_apis/gaia/oauth2_api_call_flow.h |
@@ -64,9 +64,9 @@ class OAuth2ApiCallFlow : public net::URLFetcherDelegate { |
// Template method CreateApiCallUrl is used to get the URL. |
// Template method CreateApiCallBody is used to get the body. |
// The URLFether's method will be GET if body is empty, POST otherwise. |
- // Caller owns the returned instance. |
- net::URLFetcher* CreateURLFetcher(net::URLRequestContextGetter* context, |
- const std::string& access_token); |
+ scoped_ptr<net::URLFetcher> CreateURLFetcher( |
+ net::URLRequestContextGetter* context, |
+ const std::string& access_token); |
// Helper methods to implement the state machine for the flow. |
void BeginApiCall(); |