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

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

Issue 2847013002: Switch to mojo localstorage backend by default. (Closed)
Patch Set: minor cleanup 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 5120594aff8154b7330e0b439097d358717e5bef..e2c4ced994cc509ff85d8e50af696ea468037c5e 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));
}
}
@@ -2148,7 +2147,7 @@ void RenderProcessHostImpl::PropagateBrowserCommandLineToRenderer(
switches::kMaxUntiledLayerWidth,
switches::kMaxUntiledLayerHeight,
switches::kMemoryMetrics,
- switches::kMojoLocalStorage,
+ switches::kDisableMojoLocalStorage,
switches::kMSEAudioBufferSizeLimit,
switches::kMSEVideoBufferSizeLimit,
switches::kNoReferrers,

Powered by Google App Engine
This is Rietveld 408576698