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

Unified Diff: content/browser/plugin_service_impl_browsertest.cc

Issue 10891016: Remove all callers of Profile::GetResourceContext(). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 4 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/plugin_service_impl_browsertest.cc
diff --git a/content/browser/plugin_service_impl_browsertest.cc b/content/browser/plugin_service_impl_browsertest.cc
index 78ede71b868ff4bfddcc34b1c884b6a46f894944..8ea918c2401fec11dd704c4c26612f3836269541 100644
--- a/content/browser/plugin_service_impl_browsertest.cc
+++ b/content/browser/plugin_service_impl_browsertest.cc
@@ -10,6 +10,7 @@
#include "base/path_service.h"
#include "content/public/browser/browser_context.h"
#include "content/public/browser/resource_context.h"
+#include "content/public/browser/storage_partition.h"
#include "content/public/browser/web_contents.h"
#include "content/public/common/content_switches.h"
#include "content/public/test/test_browser_thread.h"
@@ -115,7 +116,8 @@ class PluginServiceTest : public ContentBrowserTest {
PluginServiceTest() {}
ResourceContext* GetResourceContext() {
- return shell()->web_contents()->GetBrowserContext()->GetResourceContext();
+ return BrowserContext::GetDefaultStoragePartition(
+ shell()->web_contents()->GetBrowserContext())->GetResourceContext();
}
virtual void SetUpCommandLine(CommandLine* command_line) {
« no previous file with comments | « content/browser/plugin_data_remover_impl.cc ('k') | content/browser/renderer_host/pepper/pepper_message_filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698