| 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 <memory> | 8 #include <memory> |
| 9 #include <string> | 9 #include <string> |
| 10 #include <vector> | 10 #include <vector> |
| 11 | 11 |
| 12 #include "base/compiler_specific.h" | 12 #include "base/compiler_specific.h" |
| 13 #include "base/macros.h" | 13 #include "base/macros.h" |
| 14 #include "base/memory/ref_counted.h" | 14 #include "base/memory/ref_counted.h" |
| 15 #include "base/memory/weak_ptr.h" | 15 #include "base/memory/weak_ptr.h" |
| 16 #include "base/scoped_observer.h" | 16 #include "base/scoped_observer.h" |
| 17 #include "build/build_config.h" | 17 #include "build/build_config.h" |
| 18 #include "chrome/browser/profiles/profile.h" | 18 #include "chrome/browser/profiles/profile.h" |
| 19 #include "chrome/browser/profiles/profile_attributes_storage.h" | 19 #include "chrome/browser/profiles/profile_attributes_storage.h" |
| 20 #include "chrome/browser/ui/webui/options/options_ui.h" | 20 #include "chrome/browser/ui/webui/options/options_ui.h" |
| 21 #include "chrome/browser/ui/zoom/chrome_zoom_level_prefs.h" | 21 #include "chrome/browser/ui/zoom/chrome_zoom_level_prefs.h" |
| 22 #include "components/policy/core/common/policy_service.h" | 22 #include "components/policy/core/common/policy_service.h" |
| 23 #include "components/prefs/pref_change_registrar.h" | 23 #include "components/prefs/pref_change_registrar.h" |
| 24 #include "components/prefs/pref_member.h" | 24 #include "components/prefs/pref_member.h" |
| 25 #include "components/search_engines/template_url_service_observer.h" | 25 #include "components/search_engines/template_url_service_observer.h" |
| 26 #include "components/signin/core/browser/signin_manager_base.h" | 26 #include "components/signin/core/browser/signin_manager_base.h" |
| 27 #include "components/signin/core/common/signin_pref_names.h" | 27 #include "components/signin/core/common/signin_pref_names.h" |
| 28 #include "components/sync_driver/sync_service_observer.h" | 28 #include "components/sync/driver/sync_service_observer.h" |
| 29 #include "content/public/browser/notification_observer.h" | 29 #include "content/public/browser/notification_observer.h" |
| 30 #include "extensions/browser/extension_registry_observer.h" | 30 #include "extensions/browser/extension_registry_observer.h" |
| 31 #include "google_apis/gaia/google_service_auth_error.h" | 31 #include "google_apis/gaia/google_service_auth_error.h" |
| 32 #include "ui/base/models/table_model_observer.h" | 32 #include "ui/base/models/table_model_observer.h" |
| 33 #include "ui/shell_dialogs/select_file_dialog.h" | 33 #include "ui/shell_dialogs/select_file_dialog.h" |
| 34 | 34 |
| 35 #if defined(OS_CHROMEOS) | 35 #if defined(OS_CHROMEOS) |
| 36 #include "chrome/browser/chromeos/system/pointer_device_observer.h" | 36 #include "chrome/browser/chromeos/system/pointer_device_observer.h" |
| 37 #include "chrome/browser/ui/app_list/arc/arc_app_list_prefs.h" | 37 #include "chrome/browser/ui/app_list/arc/arc_app_list_prefs.h" |
| 38 #else // defined(OS_CHROMEOS) | 38 #else // defined(OS_CHROMEOS) |
| (...skipping 390 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 429 | 429 |
| 430 // Used to get WeakPtr to self for use on the UI thread. | 430 // Used to get WeakPtr to self for use on the UI thread. |
| 431 base::WeakPtrFactory<BrowserOptionsHandler> weak_ptr_factory_; | 431 base::WeakPtrFactory<BrowserOptionsHandler> weak_ptr_factory_; |
| 432 | 432 |
| 433 DISALLOW_COPY_AND_ASSIGN(BrowserOptionsHandler); | 433 DISALLOW_COPY_AND_ASSIGN(BrowserOptionsHandler); |
| 434 }; | 434 }; |
| 435 | 435 |
| 436 } // namespace options | 436 } // namespace options |
| 437 | 437 |
| 438 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_BROWSER_OPTIONS_HANDLER_H_ | 438 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_BROWSER_OPTIONS_HANDLER_H_ |
| OLD | NEW |