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

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

Issue 11587003: Make ChromeGeolocationPermissionContextFactory a ProfileKeyedServiceFactory (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix Android compile error. Add GetInstance() call to ProfileDependencyManager. Created 8 years 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 | Annotate | Revision Log
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 250 matching lines...) Expand 10 before | Expand all | Expand 10 after
261 web_intents::RegisterUserPrefs(user_prefs); 261 web_intents::RegisterUserPrefs(user_prefs);
262 #endif 262 #endif
263 263
264 #if defined(TOOLKIT_VIEWS) 264 #if defined(TOOLKIT_VIEWS)
265 RegisterInvertBubbleUserPrefs(user_prefs); 265 RegisterInvertBubbleUserPrefs(user_prefs);
266 #elif defined(TOOLKIT_GTK) 266 #elif defined(TOOLKIT_GTK)
267 BrowserWindowGtk::RegisterUserPrefs(user_prefs); 267 BrowserWindowGtk::RegisterUserPrefs(user_prefs);
268 #endif 268 #endif
269 269
270 #if defined(OS_ANDROID) 270 #if defined(OS_ANDROID)
271 geolocation::RegisterUserPrefs(user_prefs);
272 PromoHandler::RegisterUserPrefs(user_prefs); 271 PromoHandler::RegisterUserPrefs(user_prefs);
273 #endif 272 #endif
274 273
275 #if defined(USE_ASH) 274 #if defined(USE_ASH)
276 ash::RegisterChromeLauncherUserPrefs(user_prefs); 275 ash::RegisterChromeLauncherUserPrefs(user_prefs);
277 #endif 276 #endif
278 277
279 #if !defined(OS_ANDROID) 278 #if !defined(OS_ANDROID)
280 CaptureVisibleTabFunction::RegisterUserPrefs(user_prefs); 279 CaptureVisibleTabFunction::RegisterUserPrefs(user_prefs);
281 ChromeToMobileService::RegisterUserPrefs(user_prefs); 280 ChromeToMobileService::RegisterUserPrefs(user_prefs);
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
376 } 375 }
377 local_state->ClearPref(prefs::kLastPromptedGoogleURL); 376 local_state->ClearPref(prefs::kLastPromptedGoogleURL);
378 377
379 current_version |= GOOGLE_URL_TRACKER_PREFS; 378 current_version |= GOOGLE_URL_TRACKER_PREFS;
380 local_state->SetInteger(prefs::kMultipleProfilePrefMigration, 379 local_state->SetInteger(prefs::kMultipleProfilePrefMigration,
381 current_version); 380 current_version);
382 } 381 }
383 } 382 }
384 383
385 } // namespace chrome 384 } // namespace chrome
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698