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

Side by Side Diff: chrome/browser/prefs/browser_prefs.cc

Issue 11633020: Re-enable about:flags on Android (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressing nilesh's comments Created 7 years, 11 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 unified diff | Download patch
OLDNEW
1 // Copyright 2012 The Chromium Authors. All rights reserved. 1 // Copyright 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/browser/prefs/browser_prefs.h" 5 #include "chrome/browser/prefs/browser_prefs.h"
6 6
7 #include "chrome/browser/about_flags.h" 7 #include "chrome/browser/about_flags.h"
8 #include "chrome/browser/accessibility/invert_bubble_prefs.h" 8 #include "chrome/browser/accessibility/invert_bubble_prefs.h"
9 #include "chrome/browser/autofill/autofill_manager.h" 9 #include "chrome/browser/autofill/autofill_manager.h"
10 #include "chrome/browser/background/background_mode_manager.h" 10 #include "chrome/browser/background/background_mode_manager.h"
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after
145 namespace chrome { 145 namespace chrome {
146 146
147 void RegisterLocalState(PrefServiceSimple* local_state) { 147 void RegisterLocalState(PrefServiceSimple* local_state) {
148 // Prefs in Local State. 148 // Prefs in Local State.
149 local_state->RegisterIntegerPref(prefs::kMultipleProfilePrefMigration, 0); 149 local_state->RegisterIntegerPref(prefs::kMultipleProfilePrefMigration, 0);
150 150
151 // Please keep this list alphabetized. 151 // Please keep this list alphabetized.
152 browser_shutdown::RegisterPrefs(local_state); 152 browser_shutdown::RegisterPrefs(local_state);
153 chrome::RegisterScreenshotPrefs(local_state); 153 chrome::RegisterScreenshotPrefs(local_state);
154 ExternalProtocolHandler::RegisterPrefs(local_state); 154 ExternalProtocolHandler::RegisterPrefs(local_state);
155 FlagsUI::RegisterPrefs(local_state);
155 geolocation::RegisterPrefs(local_state); 156 geolocation::RegisterPrefs(local_state);
156 IntranetRedirectDetector::RegisterPrefs(local_state); 157 IntranetRedirectDetector::RegisterPrefs(local_state);
157 KeywordEditorController::RegisterPrefs(local_state); 158 KeywordEditorController::RegisterPrefs(local_state);
158 MetricsLog::RegisterPrefs(local_state); 159 MetricsLog::RegisterPrefs(local_state);
159 MetricsService::RegisterPrefs(local_state); 160 MetricsService::RegisterPrefs(local_state);
160 PrefProxyConfigTrackerImpl::RegisterPrefs(local_state); 161 PrefProxyConfigTrackerImpl::RegisterPrefs(local_state);
161 ProfileInfoCache::RegisterPrefs(local_state); 162 ProfileInfoCache::RegisterPrefs(local_state);
162 ProfileManager::RegisterPrefs(local_state); 163 ProfileManager::RegisterPrefs(local_state);
163 PromoResourceService::RegisterPrefs(local_state); 164 PromoResourceService::RegisterPrefs(local_state);
164 SigninManagerFactory::RegisterPrefs(local_state); 165 SigninManagerFactory::RegisterPrefs(local_state);
165 SSLConfigServiceManager::RegisterPrefs(local_state); 166 SSLConfigServiceManager::RegisterPrefs(local_state);
167 UpgradeDetector::RegisterPrefs(local_state);
166 WebCacheManager::RegisterPrefs(local_state); 168 WebCacheManager::RegisterPrefs(local_state);
167 169
168 #if defined(ENABLE_PLUGINS) 170 #if defined(ENABLE_PLUGINS)
169 PluginFinder::RegisterPrefs(local_state); 171 PluginFinder::RegisterPrefs(local_state);
170 #endif 172 #endif
171 173
172 #if defined(ENABLE_PLUGIN_INSTALLATION) 174 #if defined(ENABLE_PLUGIN_INSTALLATION)
173 PluginsResourceService::RegisterPrefs(local_state); 175 PluginsResourceService::RegisterPrefs(local_state);
174 #endif 176 #endif
175 177
(...skipping 12 matching lines...) Expand all
188 190
189 #if defined(TOOLKIT_VIEWS) 191 #if defined(TOOLKIT_VIEWS)
190 RegisterBrowserViewPrefs(local_state); 192 RegisterBrowserViewPrefs(local_state);
191 RegisterTabStripLayoutTypePrefs(local_state); 193 RegisterTabStripLayoutTypePrefs(local_state);
192 #endif 194 #endif
193 195
194 #if !defined(OS_ANDROID) 196 #if !defined(OS_ANDROID)
195 BackgroundModeManager::RegisterPrefs(local_state); 197 BackgroundModeManager::RegisterPrefs(local_state);
196 chrome_variations::VariationsService::RegisterPrefs(local_state); 198 chrome_variations::VariationsService::RegisterPrefs(local_state);
197 RegisterBrowserPrefs(local_state); 199 RegisterBrowserPrefs(local_state);
198 FlagsUI::RegisterPrefs(local_state);
199 ManagedMode::RegisterPrefs(local_state); 200 ManagedMode::RegisterPrefs(local_state);
200 UpgradeDetector::RegisterPrefs(local_state);
201 #endif 201 #endif
202 202
203 #if defined(OS_CHROMEOS) 203 #if defined(OS_CHROMEOS)
204 chromeos::AudioHandler::RegisterPrefs(local_state); 204 chromeos::AudioHandler::RegisterPrefs(local_state);
205 chromeos::DataPromoNotification::RegisterPrefs(local_state); 205 chromeos::DataPromoNotification::RegisterPrefs(local_state);
206 chromeos::device_settings_cache::RegisterPrefs(local_state); 206 chromeos::device_settings_cache::RegisterPrefs(local_state);
207 chromeos::language_prefs::RegisterPrefs(local_state); 207 chromeos::language_prefs::RegisterPrefs(local_state);
208 chromeos::ProxyConfigServiceImpl::RegisterPrefs(local_state); 208 chromeos::ProxyConfigServiceImpl::RegisterPrefs(local_state);
209 chromeos::RegisterDisplayLocalStatePrefs(local_state); 209 chromeos::RegisterDisplayLocalStatePrefs(local_state);
210 chromeos::ServicesCustomizationDocument::RegisterPrefs(local_state); 210 chromeos::ServicesCustomizationDocument::RegisterPrefs(local_state);
(...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after
380 } 380 }
381 local_state->ClearPref(prefs::kLastPromptedGoogleURL); 381 local_state->ClearPref(prefs::kLastPromptedGoogleURL);
382 382
383 current_version |= GOOGLE_URL_TRACKER_PREFS; 383 current_version |= GOOGLE_URL_TRACKER_PREFS;
384 local_state->SetInteger(prefs::kMultipleProfilePrefMigration, 384 local_state->SetInteger(prefs::kMultipleProfilePrefMigration,
385 current_version); 385 current_version);
386 } 386 }
387 } 387 }
388 388
389 } // namespace chrome 389 } // namespace chrome
OLDNEW
« no previous file with comments | « chrome/browser/lifetime/application_lifetime_android.cc ('k') | chrome/browser/ui/webui/chrome_web_ui_controller_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698