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

Unified Diff: content/public/test/mock_render_process_host.cc

Issue 11147026: Initial refactor to get profiles to propagate storage partition details. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixing Android's BrowserContext. 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/test/mock_render_process_host.cc
diff --git a/content/public/test/mock_render_process_host.cc b/content/public/test/mock_render_process_host.cc
index 9b9ca47e10e914213812a407aa4061a73d80c42e..23f18920cf5f4d321b036915a5ac972dd4954334 100644
--- a/content/public/test/mock_render_process_host.cc
+++ b/content/public/test/mock_render_process_host.cc
@@ -12,6 +12,7 @@
#include "content/common/child_process_host_impl.h"
#include "content/public/browser/notification_service.h"
#include "content/public/browser/notification_types.h"
+#include "content/public/browser/storage_partition.h"
namespace content {
@@ -83,6 +84,10 @@ bool MockRenderProcessHost::IsGuest() const {
return false;
}
+StoragePartition* MockRenderProcessHost::GetStoragePartition() const {
+ return NULL;
+}
+
void MockRenderProcessHost::AddWord(const string16& word) {
}

Powered by Google App Engine
This is Rietveld 408576698