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

Unified Diff: chrome/browser/prefs/chrome_command_line_pref_store.cc

Issue 2349073002: Blimp Settings framework on the c++ side (Closed)
Patch Set: move the PrefService logic from blimp_main.cc Created 4 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: chrome/browser/prefs/chrome_command_line_pref_store.cc
diff --git a/chrome/browser/prefs/chrome_command_line_pref_store.cc b/chrome/browser/prefs/chrome_command_line_pref_store.cc
index 349e18630b1bf02f7ec592995beaa4ec96745db5..0e3b1108ffad5267d3189fd72ebc57831f76d28b 100644
--- a/chrome/browser/prefs/chrome_command_line_pref_store.cc
+++ b/chrome/browser/prefs/chrome_command_line_pref_store.cc
@@ -18,6 +18,7 @@
#include "base/strings/string_split.h"
#include "base/values.h"
#include "build/build_config.h"
+#include "chrome/browser/android/preferences/command_line_pref_store_android.h"
Lei Zhang 2016/10/26 01:52:05 Put this behind #if defined(OS_ANDROID) down aroun
Menglin 2016/10/26 19:28:33 Done.
#include "chrome/common/chrome_switches.h"
#include "chrome/common/pref_names.h"
#include "components/data_reduction_proxy/core/common/data_reduction_proxy_pref_names.h"
@@ -114,6 +115,9 @@ void ChromeCommandLinePrefStore::ApplySimpleSwitches() {
ApplyPathSwitches(path_switch_map_, arraysize(path_switch_map_));
ApplyIntegerSwitches(integer_switch_map_, arraysize(integer_switch_map_));
ApplyBooleanSwitches(boolean_switch_map_, arraysize(boolean_switch_map_));
+#if defined(OS_ANDROID)
+ ::android::ApplyBlimpSwitches(this);
+#endif
}
void ChromeCommandLinePrefStore::ApplyProxyMode() {
« blimp/client/core/settings/settings.cc ('K') | « chrome/browser/prefs/browser_prefs.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698