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

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: Address sky'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 | 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 252 matching lines...) Expand 10 before | Expand all | Expand 10 after
263 web_intents::RegisterUserPrefs(user_prefs); 263 web_intents::RegisterUserPrefs(user_prefs);
264 #endif 264 #endif
265 265
266 #if defined(TOOLKIT_VIEWS) 266 #if defined(TOOLKIT_VIEWS)
267 RegisterInvertBubbleUserPrefs(user_prefs); 267 RegisterInvertBubbleUserPrefs(user_prefs);
268 #elif defined(TOOLKIT_GTK) 268 #elif defined(TOOLKIT_GTK)
269 BrowserWindowGtk::RegisterUserPrefs(user_prefs); 269 BrowserWindowGtk::RegisterUserPrefs(user_prefs);
270 #endif 270 #endif
271 271
272 #if defined(OS_ANDROID) 272 #if defined(OS_ANDROID)
273 geolocation::RegisterUserPrefs(user_prefs);
274 PromoHandler::RegisterUserPrefs(user_prefs); 273 PromoHandler::RegisterUserPrefs(user_prefs);
275 #endif 274 #endif
276 275
277 #if defined(USE_ASH) 276 #if defined(USE_ASH)
278 ash::RegisterChromeLauncherUserPrefs(user_prefs); 277 ash::RegisterChromeLauncherUserPrefs(user_prefs);
279 #endif 278 #endif
280 279
281 #if !defined(OS_ANDROID) 280 #if !defined(OS_ANDROID)
282 CaptureVisibleTabFunction::RegisterUserPrefs(user_prefs); 281 CaptureVisibleTabFunction::RegisterUserPrefs(user_prefs);
283 ChromeToMobileService::RegisterUserPrefs(user_prefs); 282 ChromeToMobileService::RegisterUserPrefs(user_prefs);
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
379 } 378 }
380 local_state->ClearPref(prefs::kLastPromptedGoogleURL); 379 local_state->ClearPref(prefs::kLastPromptedGoogleURL);
381 380
382 current_version |= GOOGLE_URL_TRACKER_PREFS; 381 current_version |= GOOGLE_URL_TRACKER_PREFS;
383 local_state->SetInteger(prefs::kMultipleProfilePrefMigration, 382 local_state->SetInteger(prefs::kMultipleProfilePrefMigration,
384 current_version); 383 current_version);
385 } 384 }
386 } 385 }
387 386
388 } // namespace chrome 387 } // namespace chrome
OLDNEW
« no previous file with comments | « chrome/browser/geolocation/geolocation_prefs.cc ('k') | chrome/browser/profiles/profile_dependency_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698