Index: extensions/browser/content_hash_fetcher.h |
diff --git a/extensions/browser/content_hash_fetcher.h b/extensions/browser/content_hash_fetcher.h |
index f6e243876d1bee92b013e04645da86965b3580a8..a38f75ddd5fb452fa9e0251699bbcd8a70d1ea5e 100644 |
--- a/extensions/browser/content_hash_fetcher.h |
+++ b/extensions/browser/content_hash_fetcher.h |
@@ -8,6 +8,7 @@ |
#include <map> |
#include <set> |
#include <string> |
+#include <utility> |
#include "base/callback.h" |
#include "base/files/file_path.h" |
@@ -15,8 +16,8 @@ |
#include "base/memory/weak_ptr.h" |
#include "extensions/common/extension_id.h" |
-namespace content { |
-class BrowserContext; |
+namespace net { |
+class URLRequestContextGetter; |
} |
namespace extensions { |
@@ -45,7 +46,7 @@ class ContentHashFetcher { |
// The consumer of this class needs to ensure that context and delegate |
// outlive this object. |
- ContentHashFetcher(content::BrowserContext* context, |
+ ContentHashFetcher(net::URLRequestContextGetter* context_getter, |
ContentVerifierDelegate* delegate, |
const FetchCallback& callback); |
virtual ~ContentHashFetcher(); |
@@ -63,7 +64,7 @@ class ContentHashFetcher { |
// Callback for when a job getting content hashes has completed. |
void JobFinished(ContentHashFetcherJob* job); |
- content::BrowserContext* context_; |
+ net::URLRequestContextGetter* context_getter_; |
ContentVerifierDelegate* delegate_; |
FetchCallback fetch_callback_; |