Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1230)

Unified Diff: content/browser/webui/url_data_manager_backend.h

Issue 11896113: Add chrome-search: access from Instant overlay (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Yet another rebase Created 7 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/browser/storage_partition_impl_map.cc ('k') | content/browser/webui/url_data_manager_backend.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 58daa4e2e6472b55d83e9321925c3c580e43d0a8..318136981bcdb93942836073864592a13609ee8a 100644
--- a/content/browser/webui/url_data_manager_backend.h
+++ b/content/browser/webui/url_data_manager_backend.h
@@ -17,11 +17,16 @@
class GURL;
+namespace appcache {
+class AppCacheService;
+}
+
namespace base {
class RefCountedMemory;
}
namespace content {
+class ChromeBlobStorageContext;
class ResourceContext;
class URLDataManagerBackend;
class URLDataSourceImpl;
@@ -41,7 +46,9 @@ class URLDataManagerBackend : public base::SupportsUserData::Data {
// be set for incognito profiles. Called on the UI thread.
static net::URLRequestJobFactory::ProtocolHandler* CreateProtocolHandler(
content::ResourceContext* resource_context,
- bool is_incognito);
+ bool is_incognito,
+ appcache::AppCacheService* appcache_service,
+ ChromeBlobStorageContext* blob_storage_context);
// Adds a DataSource to the collection of data sources.
void AddDataSource(URLDataSourceImpl* source);
@@ -61,7 +68,7 @@ class URLDataManagerBackend : public base::SupportsUserData::Data {
// Called by the job when it's starting up.
// Returns false if |url| is not a URL managed by this object.
- bool StartRequest(const GURL& url, URLRequestChromeJob* job);
+ bool StartRequest(const net::URLRequest* request, URLRequestChromeJob* job);
// Helper function to call StartDataRequest on |source|'s delegate. This is
// needed because while we want to call URLDataSourceDelegate's method, we
« no previous file with comments | « content/browser/storage_partition_impl_map.cc ('k') | content/browser/webui/url_data_manager_backend.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698