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

Unified Diff: content/public/browser/render_process_host.h

Issue 11308024: Fixing guest processes to use the proper storage partition. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: add comment to test. Created 8 years, 2 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/public/browser/render_process_host.h
diff --git a/content/public/browser/render_process_host.h b/content/public/browser/render_process_host.h
index 1faeae9e6b91cf8f33839a50c1ff1024bf89ac62..22fde8ed3e16ee524c11a9f23c249da15b09e9ba 100644
--- a/content/public/browser/render_process_host.h
+++ b/content/public/browser/render_process_host.h
@@ -94,6 +94,12 @@ class CONTENT_EXPORT RenderProcessHost : public IPC::Sender,
// renderer process.
virtual bool IsGuest() const = 0;
+ // Returns the storage partition associated with this process.
+ //
+ // TODO(nasko): Remove this function from the public API once
+ // URLRequestContextGetter's creation is moved into StoragePartition.
+ virtual StoragePartition* GetStoragePartition() const = 0;
+
// Try to shutdown the associated renderer process as fast as possible.
// If this renderer has any RenderViews with unload handlers, then this
// function does nothing. The current implementation uses TerminateProcess.

Powered by Google App Engine
This is Rietveld 408576698