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

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

Issue 9570044: Rename chrome/browser/ui/views/{aura => ash}/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 8 years, 9 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
« no previous file with comments | « chrome/browser/extensions/extension_tabs_module.cc ('k') | chrome/browser/ui/browser.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 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/autofill/autofill_manager.h" 8 #include "chrome/browser/autofill/autofill_manager.h"
9 #include "chrome/browser/background/background_mode_manager.h" 9 #include "chrome/browser/background/background_mode_manager.h"
10 #include "chrome/browser/bookmarks/bookmark_model.h" 10 #include "chrome/browser/bookmarks/bookmark_model.h"
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 #include "chrome/browser/chromeos/preferences.h" 88 #include "chrome/browser/chromeos/preferences.h"
89 #include "chrome/browser/chromeos/proxy_config_service_impl.h" 89 #include "chrome/browser/chromeos/proxy_config_service_impl.h"
90 #include "chrome/browser/chromeos/status/input_method_menu.h" 90 #include "chrome/browser/chromeos/status/input_method_menu.h"
91 #include "chrome/browser/chromeos/status/network_menu_button.h" 91 #include "chrome/browser/chromeos/status/network_menu_button.h"
92 #include "chrome/browser/policy/auto_enrollment_client.h" 92 #include "chrome/browser/policy/auto_enrollment_client.h"
93 #include "chrome/browser/policy/device_status_collector.h" 93 #include "chrome/browser/policy/device_status_collector.h"
94 #else 94 #else
95 #include "chrome/browser/extensions/default_apps.h" 95 #include "chrome/browser/extensions/default_apps.h"
96 #endif 96 #endif
97 97
98 #if defined(USE_AURA) 98 #if defined(USE_ASH)
99 #include "chrome/browser/ui/views/aura/launcher/chrome_launcher_delegate.h" 99 #include "chrome/browser/ui/views/ash/launcher/chrome_launcher_delegate.h"
100 #endif 100 #endif
101 101
102 namespace browser { 102 namespace browser {
103 103
104 void RegisterLocalState(PrefService* local_state) { 104 void RegisterLocalState(PrefService* local_state) {
105 // Prefs in Local State 105 // Prefs in Local State
106 local_state->RegisterIntegerPref(prefs::kMultipleProfilePrefMigration, 0); 106 local_state->RegisterIntegerPref(prefs::kMultipleProfilePrefMigration, 0);
107 107
108 AppsPromo::RegisterPrefs(local_state); 108 AppsPromo::RegisterPrefs(local_state);
109 Browser::RegisterPrefs(local_state); 109 Browser::RegisterPrefs(local_state);
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
200 #if defined(ENABLE_CONFIGURATION_POLICY) 200 #if defined(ENABLE_CONFIGURATION_POLICY)
201 policy::URLBlacklistManager::RegisterPrefs(user_prefs); 201 policy::URLBlacklistManager::RegisterPrefs(user_prefs);
202 #endif 202 #endif
203 203
204 #if defined(TOOLKIT_VIEWS) 204 #if defined(TOOLKIT_VIEWS)
205 BrowserActionsContainer::RegisterUserPrefs(user_prefs); 205 BrowserActionsContainer::RegisterUserPrefs(user_prefs);
206 #elif defined(TOOLKIT_GTK) 206 #elif defined(TOOLKIT_GTK)
207 BrowserWindowGtk::RegisterUserPrefs(user_prefs); 207 BrowserWindowGtk::RegisterUserPrefs(user_prefs);
208 #endif 208 #endif
209 209
210 #if defined(USE_AURA) 210 #if defined(USE_ASH)
211 ChromeLauncherDelegate::RegisterUserPrefs(user_prefs); 211 ChromeLauncherDelegate::RegisterUserPrefs(user_prefs);
212 #endif 212 #endif
213 213
214 #if !defined(OS_ANDROID) 214 #if !defined(OS_ANDROID)
215 PluginsUI::RegisterUserPrefs(user_prefs); 215 PluginsUI::RegisterUserPrefs(user_prefs);
216 PromoResourceService::RegisterUserPrefs(user_prefs); 216 PromoResourceService::RegisterUserPrefs(user_prefs);
217 #endif 217 #endif
218 218
219 #if !defined(OS_ANDROID) && !defined(OS_CHROMEOS) 219 #if !defined(OS_ANDROID) && !defined(OS_CHROMEOS)
220 default_apps::RegisterUserPrefs(user_prefs); 220 default_apps::RegisterUserPrefs(user_prefs);
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
255 user_prefs->Set(prefs::kBrowserWindowPlacement, *(pref->GetValue())); 255 user_prefs->Set(prefs::kBrowserWindowPlacement, *(pref->GetValue()));
256 } 256 }
257 local_state->ClearPref(prefs::kBrowserWindowPlacement); 257 local_state->ClearPref(prefs::kBrowserWindowPlacement);
258 258
259 local_state->SetInteger(prefs::kMultipleProfilePrefMigration, 259 local_state->SetInteger(prefs::kMultipleProfilePrefMigration,
260 current_version | WINDOWS_PREFS); 260 current_version | WINDOWS_PREFS);
261 } 261 }
262 } 262 }
263 263
264 } // namespace browser 264 } // namespace browser
OLDNEW
« no previous file with comments | « chrome/browser/extensions/extension_tabs_module.cc ('k') | chrome/browser/ui/browser.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698