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

Unified Diff: content/browser/worker_host/worker_process_host.h

Issue 9369009: Make content::ResourceContext be a real interface like the rest of the Content API (i.e. don't ha... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: sync Created 8 years, 10 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
Index: content/browser/worker_host/worker_process_host.h
===================================================================
--- content/browser/worker_host/worker_process_host.h (revision 121250)
+++ content/browser/worker_host/worker_process_host.h (working copy)
@@ -44,12 +44,12 @@
int worker_route_id,
int parent_process_id,
int64 main_resource_appcache_id,
- const content::ResourceContext* resource_context);
+ content::ResourceContext* resource_context);
// Used for pending instances. Rest of the parameters are ignored.
WorkerInstance(const GURL& url,
bool shared,
const string16& name,
- const content::ResourceContext* resource_context);
+ content::ResourceContext* resource_context);
~WorkerInstance();
// Unique identifier for a worker client.
@@ -74,7 +74,7 @@
bool Matches(
const GURL& url,
const string16& name,
- const content::ResourceContext* resource_context) const;
+ content::ResourceContext* resource_context) const;
// Shares the passed instance's WorkerDocumentSet with this instance. This
// instance's current WorkerDocumentSet is dereferenced (and freed if this
@@ -96,7 +96,7 @@
WorkerDocumentSet* worker_document_set() const {
return worker_document_set_;
}
- const content::ResourceContext* resource_context() const {
+ content::ResourceContext* resource_context() const {
return resource_context_;
}
@@ -110,10 +110,10 @@
int64 main_resource_appcache_id_;
FilterList filters_;
scoped_refptr<WorkerDocumentSet> worker_document_set_;
- const content::ResourceContext* const resource_context_;
+ content::ResourceContext* const resource_context_;
};
- explicit WorkerProcessHost(const content::ResourceContext* resource_context);
+ explicit WorkerProcessHost(content::ResourceContext* resource_context);
virtual ~WorkerProcessHost();
// IPC::Message::Sender implementation:
@@ -146,7 +146,7 @@
typedef std::list<WorkerInstance> Instances;
const Instances& instances() const { return instances_; }
- const content::ResourceContext* resource_context() const {
+ content::ResourceContext* resource_context() const {
return resource_context_;
}
@@ -191,7 +191,7 @@
Instances instances_;
- const content::ResourceContext* const resource_context_;
+ content::ResourceContext* const resource_context_;
// A reference to the filter associated with this worker process. We need to
// keep this around since we'll use it when forward messages to the worker
« no previous file with comments | « content/browser/worker_host/worker_message_filter.cc ('k') | content/browser/worker_host/worker_process_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698