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..eca172eee0a5ff357189e1dc4c8f7480ba454b59 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,10 @@ 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, though the protocol |
awong
2013/02/05 02:57:11
Just saying "Called on the UI Thread." is probably
|
+ // handler is used on the IO 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 +97,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 |