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

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

Issue 5512009: Remove unneeded browser_process.h includes. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix linux build 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 <string>
8
7 #include "app/l10n_util.h" 9 #include "app/l10n_util.h"
8 #include "base/basictypes.h" 10 #include "base/basictypes.h"
9 #include "base/callback.h" 11 #include "base/callback.h"
10 #include "base/path_service.h" 12 #include "base/path_service.h"
11 #include "base/stl_util-inl.h" 13 #include "base/stl_util-inl.h"
12 #include "base/utf_string_conversions.h" 14 #include "base/utf_string_conversions.h"
13 #include "base/values.h" 15 #include "base/values.h"
14 #include "build/build_config.h" 16 #include "build/build_config.h"
15 #include "chrome/browser/browser_list.h" 17 #include "chrome/browser/browser_list.h"
16 #include "chrome/browser/browser_process.h"
17 #if defined(OS_CHROMEOS) 18 #if defined(OS_CHROMEOS)
18 #include "chrome/browser/chromeos/login/user_manager.h" 19 #include "chrome/browser/chromeos/login/user_manager.h"
19 #endif 20 #endif
James Hawkins 2010/12/05 17:58:47 #endif // defined(OS_CHROMEOS)
Lei Zhang 2010/12/05 20:14:49 Done.
20 #include "chrome/browser/dom_ui/options/options_managed_banner_handler.h" 21 #include "chrome/browser/dom_ui/options/options_managed_banner_handler.h"
21 #if defined(TOOLKIT_GTK) 22 #if defined(TOOLKIT_GTK)
22 #include "chrome/browser/gtk/gtk_theme_provider.h" 23 #include "chrome/browser/gtk/gtk_theme_provider.h"
23 #endif // defined(TOOLKIT_GTK) 24 #endif // defined(TOOLKIT_GTK)
24 #include "chrome/browser/profiles/profile.h" 25 #include "chrome/browser/profiles/profile.h"
25 #include "chrome/browser/profiles/profile_manager.h" 26 #include "chrome/browser/profiles/profile_manager.h"
26 #include "chrome/browser/sync/profile_sync_service.h" 27 #include "chrome/browser/sync/profile_sync_service.h"
27 #include "chrome/browser/sync/sync_ui_util.h" 28 #include "chrome/browser/sync/sync_ui_util.h"
28 #include "chrome/browser/themes/browser_theme_provider.h" 29 #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_page_base.h"
(...skipping 251 matching lines...) Expand 10 before | Expand all | Expand 10 after
281 #endif 282 #endif
282 283
283 void PersonalOptionsHandler::OnLoginSuccess() { 284 void PersonalOptionsHandler::OnLoginSuccess() {
284 OnStateChanged(); 285 OnStateChanged();
285 } 286 }
286 287
287 void PersonalOptionsHandler::OnLoginFailure( 288 void PersonalOptionsHandler::OnLoginFailure(
288 const GoogleServiceAuthError& error) { 289 const GoogleServiceAuthError& error) {
289 OnStateChanged(); 290 OnStateChanged();
290 } 291 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698