Index: components/update_client/utils.h |
diff --git a/components/update_client/utils.h b/components/update_client/utils.h |
index 297eb976cbaf15957f43eb53d07b2365f683a4a6..b109764a11a9b6d4ccbd1c4059cf95dfca5166d3 100644 |
--- a/components/update_client/utils.h |
+++ b/components/update_client/utils.h |
@@ -6,6 +6,7 @@ |
#define COMPONENTS_UPDATE_CLIENT_UTILS_H_ |
#include <string> |
+#include <base/memory/scoped_ptr.h> |
class GURL; |
@@ -55,7 +56,7 @@ std::string BuildProtocolRequest(const std::string& browser_version, |
// Sends a protocol request to the the service endpoint specified by |url|. |
// The body of the request is provided by |protocol_request| and it is |
// expected to contain XML data. The caller owns the returned object. |
-net::URLFetcher* SendProtocolRequest( |
+scoped_ptr<net::URLFetcher> SendProtocolRequest( |
const GURL& url, |
const std::string& protocol_request, |
net::URLFetcherDelegate* url_fetcher_delegate, |