Index: content/browser/webui/url_data_manager_backend.h |
diff --git a/content/browser/webui/url_data_manager_backend.h b/content/browser/webui/url_data_manager_backend.h |
index a6c6fa23176cd6e232fd5dbf99b5c3684339cff9..58daa4e2e6472b55d83e9321925c3c580e43d0a8 100644 |
--- a/content/browser/webui/url_data_manager_backend.h |
+++ b/content/browser/webui/url_data_manager_backend.h |
@@ -22,6 +22,7 @@ class RefCountedMemory; |
} |
namespace content { |
+class ResourceContext; |
class URLDataManagerBackend; |
class URLDataSourceImpl; |
class URLRequestChromeJob; |
@@ -37,9 +38,9 @@ class URLDataManagerBackend : public base::SupportsUserData::Data { |
virtual ~URLDataManagerBackend(); |
// Invoked to create the protocol handler for chrome://. |is_incognito| should |
- // be set for incognito profiles. |
+ // be set for incognito profiles. Called on the UI thread. |
static net::URLRequestJobFactory::ProtocolHandler* CreateProtocolHandler( |
- URLDataManagerBackend* backend, |
+ content::ResourceContext* resource_context, |
bool is_incognito); |
// Adds a DataSource to the collection of data sources. |
@@ -95,7 +96,7 @@ class URLDataManagerBackend : public base::SupportsUserData::Data { |
// Creates protocol handler for chrome-devtools://. |is_incognito| should be |
// set for incognito profiles. |
net::URLRequestJobFactory::ProtocolHandler* |
-CreateDevToolsProtocolHandler(URLDataManagerBackend* backend, |
+CreateDevToolsProtocolHandler(content::ResourceContext* resource_context, |
bool is_incognito); |
} // namespace content |