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

Side by Side Diff: chrome/browser/dom_ui/options/personal_options_handler.cc

Issue 5582002: Move:... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 10 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 (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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/dom_ui/options/personal_options_handler.h" 5 #include "chrome/browser/dom_ui/options/personal_options_handler.h"
6 6
7 #include "app/l10n_util.h" 7 #include "app/l10n_util.h"
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/callback.h" 9 #include "base/callback.h"
10 #include "base/path_service.h" 10 #include "base/path_service.h"
11 #include "base/stl_util-inl.h" 11 #include "base/stl_util-inl.h"
12 #include "base/utf_string_conversions.h" 12 #include "base/utf_string_conversions.h"
13 #include "base/values.h" 13 #include "base/values.h"
14 #include "build/build_config.h" 14 #include "build/build_config.h"
15 #include "chrome/browser/browser_list.h" 15 #include "chrome/browser/browser_list.h"
16 #include "chrome/browser/browser_process.h" 16 #include "chrome/browser/browser_process.h"
17 #if defined(OS_CHROMEOS) 17 #if defined(OS_CHROMEOS)
18 #include "chrome/browser/chromeos/login/user_manager.h" 18 #include "chrome/browser/chromeos/login/user_manager.h"
19 #endif 19 #endif
20 #include "chrome/browser/dom_ui/options/options_managed_banner_handler.h" 20 #include "chrome/browser/dom_ui/options/options_managed_banner_handler.h"
21 #if defined(TOOLKIT_GTK) 21 #if defined(TOOLKIT_GTK)
22 #include "chrome/browser/gtk/gtk_theme_provider.h" 22 #include "chrome/browser/gtk/gtk_theme_provider.h"
23 #endif // defined(TOOLKIT_GTK) 23 #endif // defined(TOOLKIT_GTK)
24 #include "chrome/browser/options_page_base.h"
25 #include "chrome/browser/options_window.h"
26 #include "chrome/browser/profile.h" 24 #include "chrome/browser/profile.h"
27 #include "chrome/browser/profile_manager.h" 25 #include "chrome/browser/profile_manager.h"
28 #include "chrome/browser/sync/profile_sync_service.h" 26 #include "chrome/browser/sync/profile_sync_service.h"
29 #include "chrome/browser/sync/sync_ui_util.h" 27 #include "chrome/browser/sync/sync_ui_util.h"
30 #include "chrome/browser/themes/browser_theme_provider.h" 28 #include "chrome/browser/themes/browser_theme_provider.h"
29 #include "chrome/browser/ui/options/options_page_base.h"
30 #include "chrome/browser/ui/options/options_window.h"
31 #include "chrome/common/net/gaia/google_service_auth_error.h" 31 #include "chrome/common/net/gaia/google_service_auth_error.h"
32 #include "chrome/common/notification_service.h" 32 #include "chrome/common/notification_service.h"
33 #include "chrome/common/chrome_paths.h" 33 #include "chrome/common/chrome_paths.h"
34 #include "grit/browser_resources.h" 34 #include "grit/browser_resources.h"
35 #include "grit/chromium_strings.h" 35 #include "grit/chromium_strings.h"
36 #include "grit/generated_resources.h" 36 #include "grit/generated_resources.h"
37 #include "grit/locale_settings.h" 37 #include "grit/locale_settings.h"
38 #include "grit/theme_resources.h" 38 #include "grit/theme_resources.h"
39 39
40 PersonalOptionsHandler::PersonalOptionsHandler() { 40 PersonalOptionsHandler::PersonalOptionsHandler() {
(...skipping 240 matching lines...) Expand 10 before | Expand all | Expand 10 after
281 #endif 281 #endif
282 282
283 void PersonalOptionsHandler::OnLoginSuccess() { 283 void PersonalOptionsHandler::OnLoginSuccess() {
284 OnStateChanged(); 284 OnStateChanged();
285 } 285 }
286 286
287 void PersonalOptionsHandler::OnLoginFailure( 287 void PersonalOptionsHandler::OnLoginFailure(
288 const GoogleServiceAuthError& error) { 288 const GoogleServiceAuthError& error) {
289 OnStateChanged(); 289 OnStateChanged();
290 } 290 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698