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

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: Adding excluded files 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 133 matching lines...) Expand 10 before | Expand all | Expand 10 after
144 namespace chrome { 144 namespace chrome {
145 145
146 void RegisterLocalState(PrefServiceSimple* local_state) { 146 void RegisterLocalState(PrefServiceSimple* local_state) {
147 // Prefs in Local State. 147 // Prefs in Local State.
148 local_state->RegisterIntegerPref(prefs::kMultipleProfilePrefMigration, 0); 148 local_state->RegisterIntegerPref(prefs::kMultipleProfilePrefMigration, 0);
149 149
150 // Please keep this list alphabetized. 150 // Please keep this list alphabetized.
151 browser_shutdown::RegisterPrefs(local_state); 151 browser_shutdown::RegisterPrefs(local_state);
152 chrome::RegisterScreenshotPrefs(local_state); 152 chrome::RegisterScreenshotPrefs(local_state);
153 ExternalProtocolHandler::RegisterPrefs(local_state); 153 ExternalProtocolHandler::RegisterPrefs(local_state);
154 FlagsUI::RegisterPrefs(local_state);
154 geolocation::RegisterPrefs(local_state); 155 geolocation::RegisterPrefs(local_state);
155 IntranetRedirectDetector::RegisterPrefs(local_state); 156 IntranetRedirectDetector::RegisterPrefs(local_state);
156 KeywordEditorController::RegisterPrefs(local_state); 157 KeywordEditorController::RegisterPrefs(local_state);
157 MetricsLog::RegisterPrefs(local_state); 158 MetricsLog::RegisterPrefs(local_state);
158 MetricsService::RegisterPrefs(local_state); 159 MetricsService::RegisterPrefs(local_state);
159 PrefProxyConfigTrackerImpl::RegisterPrefs(local_state); 160 PrefProxyConfigTrackerImpl::RegisterPrefs(local_state);
160 ProfileInfoCache::RegisterPrefs(local_state); 161 ProfileInfoCache::RegisterPrefs(local_state);
161 ProfileManager::RegisterPrefs(local_state); 162 ProfileManager::RegisterPrefs(local_state);
162 PromoResourceService::RegisterPrefs(local_state); 163 PromoResourceService::RegisterPrefs(local_state);
163 SigninManagerFactory::RegisterPrefs(local_state); 164 SigninManagerFactory::RegisterPrefs(local_state);
164 SSLConfigServiceManager::RegisterPrefs(local_state); 165 SSLConfigServiceManager::RegisterPrefs(local_state);
166 UpgradeDetector::RegisterPrefs(local_state);
165 WebCacheManager::RegisterPrefs(local_state); 167 WebCacheManager::RegisterPrefs(local_state);
166 168
167 #if defined(ENABLE_PLUGINS) 169 #if defined(ENABLE_PLUGINS)
168 PluginFinder::RegisterPrefs(local_state); 170 PluginFinder::RegisterPrefs(local_state);
169 #endif 171 #endif
170 172
171 #if defined(ENABLE_PLUGIN_INSTALLATION) 173 #if defined(ENABLE_PLUGIN_INSTALLATION)
172 PluginsResourceService::RegisterPrefs(local_state); 174 PluginsResourceService::RegisterPrefs(local_state);
173 #endif 175 #endif
174 176
(...skipping 12 matching lines...) Expand all
187 189
188 #if defined(TOOLKIT_VIEWS) 190 #if defined(TOOLKIT_VIEWS)
189 RegisterBrowserViewPrefs(local_state); 191 RegisterBrowserViewPrefs(local_state);
190 RegisterTabStripLayoutTypePrefs(local_state); 192 RegisterTabStripLayoutTypePrefs(local_state);
191 #endif 193 #endif
192 194
193 #if !defined(OS_ANDROID) 195 #if !defined(OS_ANDROID)
194 BackgroundModeManager::RegisterPrefs(local_state); 196 BackgroundModeManager::RegisterPrefs(local_state);
195 chrome_variations::VariationsService::RegisterPrefs(local_state); 197 chrome_variations::VariationsService::RegisterPrefs(local_state);
196 RegisterBrowserPrefs(local_state); 198 RegisterBrowserPrefs(local_state);
197 FlagsUI::RegisterPrefs(local_state);
198 ManagedMode::RegisterPrefs(local_state); 199 ManagedMode::RegisterPrefs(local_state);
199 UpgradeDetector::RegisterPrefs(local_state);
200 #endif 200 #endif
201 201
202 #if defined(OS_CHROMEOS) 202 #if defined(OS_CHROMEOS)
203 chromeos::AudioHandler::RegisterPrefs(local_state); 203 chromeos::AudioHandler::RegisterPrefs(local_state);
204 chromeos::DataPromoNotification::RegisterPrefs(local_state); 204 chromeos::DataPromoNotification::RegisterPrefs(local_state);
205 chromeos::device_settings_cache::RegisterPrefs(local_state); 205 chromeos::device_settings_cache::RegisterPrefs(local_state);
206 chromeos::language_prefs::RegisterPrefs(local_state); 206 chromeos::language_prefs::RegisterPrefs(local_state);
207 chromeos::ProxyConfigServiceImpl::RegisterPrefs(local_state); 207 chromeos::ProxyConfigServiceImpl::RegisterPrefs(local_state);
208 chromeos::RegisterDisplayLocalStatePrefs(local_state); 208 chromeos::RegisterDisplayLocalStatePrefs(local_state);
209 chromeos::ServicesCustomizationDocument::RegisterPrefs(local_state); 209 chromeos::ServicesCustomizationDocument::RegisterPrefs(local_state);
(...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after
378 } 378 }
379 local_state->ClearPref(prefs::kLastPromptedGoogleURL); 379 local_state->ClearPref(prefs::kLastPromptedGoogleURL);
380 380
381 current_version |= GOOGLE_URL_TRACKER_PREFS; 381 current_version |= GOOGLE_URL_TRACKER_PREFS;
382 local_state->SetInteger(prefs::kMultipleProfilePrefMigration, 382 local_state->SetInteger(prefs::kMultipleProfilePrefMigration,
383 current_version); 383 current_version);
384 } 384 }
385 } 385 }
386 386
387 } // namespace chrome 387 } // namespace chrome
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698