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

Unified Diff: content/browser/renderer_host/render_process_host_impl.cc

Issue 2847013002: Switch to mojo localstorage backend by default. (Closed)
Patch Set: rebase Created 3 years, 7 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/renderer_host/render_process_host_impl.cc
diff --git a/content/browser/renderer_host/render_process_host_impl.cc b/content/browser/renderer_host/render_process_host_impl.cc
index d18fd32416a5d398395e58b9e776a8c26850380c..ddb6de2ff16287213422be0a61f73c08d49eadaf 100644
--- a/content/browser/renderer_host/render_process_host_impl.cc
+++ b/content/browser/renderer_host/render_process_host_impl.cc
@@ -1633,9 +1633,8 @@ void RenderProcessHostImpl::BindFrameSinkProvider(
void RenderProcessHostImpl::CreateStoragePartitionService(
const service_manager::BindSourceInfo& source_info,
mojom::StoragePartitionServiceRequest request) {
- // DO NOT REMOVE THIS COMMAND LINE CHECK WITHOUT SECURITY REVIEW!
- if (base::CommandLine::ForCurrentProcess()->HasSwitch(
- switches::kMojoLocalStorage)) {
+ if (!base::CommandLine::ForCurrentProcess()->HasSwitch(
+ switches::kDisableMojoLocalStorage)) {
storage_partition_impl_->Bind(std::move(request));
}
}
@@ -2149,7 +2148,7 @@ void RenderProcessHostImpl::PropagateBrowserCommandLineToRenderer(
switches::kMainFrameResizesAreOrientationChanges,
switches::kMaxUntiledLayerWidth,
switches::kMaxUntiledLayerHeight,
- switches::kMojoLocalStorage,
+ switches::kDisableMojoLocalStorage,
switches::kMSEAudioBufferSizeLimit,
switches::kMSEVideoBufferSizeLimit,
switches::kNoReferrers,

Powered by Google App Engine
This is Rietveld 408576698