| OLD | NEW |
| 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 #ifndef CHROME_BROWSER_UI_WEBUI_OPTIONS_BROWSER_OPTIONS_HANDLER_H_ | 5 #ifndef CHROME_BROWSER_UI_WEBUI_OPTIONS_BROWSER_OPTIONS_HANDLER_H_ |
| 6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS_BROWSER_OPTIONS_HANDLER_H_ | 6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS_BROWSER_OPTIONS_HANDLER_H_ |
| 7 | 7 |
| 8 #include <vector> | 8 #include <vector> |
| 9 | 9 |
| 10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
| 11 #include "base/macros.h" | 11 #include "base/macros.h" |
| 12 #include "base/memory/ref_counted.h" | 12 #include "base/memory/ref_counted.h" |
| 13 #include "base/memory/scoped_ptr.h" | 13 #include "base/memory/scoped_ptr.h" |
| 14 #include "base/memory/weak_ptr.h" | 14 #include "base/memory/weak_ptr.h" |
| 15 #include "base/prefs/pref_change_registrar.h" | |
| 16 #include "base/prefs/pref_member.h" | |
| 17 #include "base/scoped_observer.h" | 15 #include "base/scoped_observer.h" |
| 18 #include "build/build_config.h" | 16 #include "build/build_config.h" |
| 19 #include "chrome/browser/profiles/profile.h" | 17 #include "chrome/browser/profiles/profile.h" |
| 20 #include "chrome/browser/profiles/profile_info_cache_observer.h" | 18 #include "chrome/browser/profiles/profile_info_cache_observer.h" |
| 21 #include "chrome/browser/shell_integration.h" | 19 #include "chrome/browser/shell_integration.h" |
| 22 #include "chrome/browser/ui/host_desktop.h" | 20 #include "chrome/browser/ui/host_desktop.h" |
| 23 #include "chrome/browser/ui/webui/options/options_ui.h" | 21 #include "chrome/browser/ui/webui/options/options_ui.h" |
| 24 #include "chrome/browser/ui/zoom/chrome_zoom_level_prefs.h" | 22 #include "chrome/browser/ui/zoom/chrome_zoom_level_prefs.h" |
| 25 #include "components/policy/core/common/policy_service.h" | 23 #include "components/policy/core/common/policy_service.h" |
| 24 #include "components/prefs/pref_change_registrar.h" |
| 25 #include "components/prefs/pref_member.h" |
| 26 #include "components/search_engines/template_url_service_observer.h" | 26 #include "components/search_engines/template_url_service_observer.h" |
| 27 #include "components/signin/core/browser/signin_manager_base.h" | 27 #include "components/signin/core/browser/signin_manager_base.h" |
| 28 #include "components/signin/core/common/signin_pref_names.h" | 28 #include "components/signin/core/common/signin_pref_names.h" |
| 29 #include "components/sync_driver/sync_service_observer.h" | 29 #include "components/sync_driver/sync_service_observer.h" |
| 30 #include "content/public/browser/notification_observer.h" | 30 #include "content/public/browser/notification_observer.h" |
| 31 #include "extensions/browser/extension_registry_observer.h" | 31 #include "extensions/browser/extension_registry_observer.h" |
| 32 #include "google_apis/gaia/google_service_auth_error.h" | 32 #include "google_apis/gaia/google_service_auth_error.h" |
| 33 #include "ui/base/models/table_model_observer.h" | 33 #include "ui/base/models/table_model_observer.h" |
| 34 #include "ui/shell_dialogs/select_file_dialog.h" | 34 #include "ui/shell_dialogs/select_file_dialog.h" |
| 35 | 35 |
| (...skipping 375 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 411 | 411 |
| 412 // Used to get WeakPtr to self for use on the UI thread. | 412 // Used to get WeakPtr to self for use on the UI thread. |
| 413 base::WeakPtrFactory<BrowserOptionsHandler> weak_ptr_factory_; | 413 base::WeakPtrFactory<BrowserOptionsHandler> weak_ptr_factory_; |
| 414 | 414 |
| 415 DISALLOW_COPY_AND_ASSIGN(BrowserOptionsHandler); | 415 DISALLOW_COPY_AND_ASSIGN(BrowserOptionsHandler); |
| 416 }; | 416 }; |
| 417 | 417 |
| 418 } // namespace options | 418 } // namespace options |
| 419 | 419 |
| 420 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_BROWSER_OPTIONS_HANDLER_H_ | 420 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_BROWSER_OPTIONS_HANDLER_H_ |
| OLD | NEW |