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

Unified Diff: content/browser/browser_context.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/browser_context.cc
diff --git a/content/browser/browser_context.cc b/content/browser/browser_context.cc
index a7db3b4030e7eb93228cd65cb86182c4c40e8880..2dd0458cbd2d0b121a03009bf52667b09e8029eb 100644
--- a/content/browser/browser_context.cc
+++ b/content/browser/browser_context.cc
@@ -479,8 +479,8 @@ void BrowserContext::Initialize(
// New embedded service factories should be added to |connection| here.
- if (base::CommandLine::ForCurrentProcess()->HasSwitch(
- switches::kMojoLocalStorage)) {
+ if (!base::CommandLine::ForCurrentProcess()->HasSwitch(
+ switches::kDisableMojoLocalStorage)) {
ServiceInfo info;
// TODO(mek): Use sequenced task runner rather than single thread task
// runner when mojo supports that (http://crbug.com/678155).

Powered by Google App Engine
This is Rietveld 408576698