OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 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/chromeos/chrome_browser_main_chromeos.h" | 5 #include "chrome/browser/chromeos/chrome_browser_main_chromeos.h" |
6 | 6 |
7 #include <string> | 7 #include <string> |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "ash/ash_switches.h" | 10 #include "ash/ash_switches.h" |
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
68 #include "chrome/browser/chromeos/settings/device_oauth2_token_service_factory.h
" | 68 #include "chrome/browser/chromeos/settings/device_oauth2_token_service_factory.h
" |
69 #include "chrome/browser/chromeos/settings/device_settings_service.h" | 69 #include "chrome/browser/chromeos/settings/device_settings_service.h" |
70 #include "chrome/browser/chromeos/status/data_promo_notification.h" | 70 #include "chrome/browser/chromeos/status/data_promo_notification.h" |
71 #include "chrome/browser/chromeos/system/input_device_settings.h" | 71 #include "chrome/browser/chromeos/system/input_device_settings.h" |
72 #include "chrome/browser/chromeos/upgrade_detector_chromeos.h" | 72 #include "chrome/browser/chromeos/upgrade_detector_chromeos.h" |
73 #include "chrome/browser/defaults.h" | 73 #include "chrome/browser/defaults.h" |
74 #include "chrome/browser/lifetime/application_lifetime.h" | 74 #include "chrome/browser/lifetime/application_lifetime.h" |
75 #include "chrome/browser/net/chrome_network_delegate.h" | 75 #include "chrome/browser/net/chrome_network_delegate.h" |
76 #include "chrome/browser/profiles/profile.h" | 76 #include "chrome/browser/profiles/profile.h" |
77 #include "chrome/browser/profiles/profile_manager.h" | 77 #include "chrome/browser/profiles/profile_manager.h" |
| 78 #include "chrome/browser/rlz/rlz.h" |
78 #include "chrome/browser/ui/ash/network_connect_delegate_chromeos.h" | 79 #include "chrome/browser/ui/ash/network_connect_delegate_chromeos.h" |
79 #include "chrome/common/chrome_constants.h" | 80 #include "chrome/common/chrome_constants.h" |
80 #include "chrome/common/chrome_paths.h" | 81 #include "chrome/common/chrome_paths.h" |
81 #include "chrome/common/chrome_switches.h" | 82 #include "chrome/common/chrome_switches.h" |
82 #include "chrome/common/chrome_version_info.h" | 83 #include "chrome/common/chrome_version_info.h" |
83 #include "chrome/common/logging_chrome.h" | 84 #include "chrome/common/logging_chrome.h" |
84 #include "chrome/common/pref_names.h" | 85 #include "chrome/common/pref_names.h" |
85 #include "chromeos/audio/audio_devices_pref_handler_impl.h" | 86 #include "chromeos/audio/audio_devices_pref_handler_impl.h" |
86 #include "chromeos/audio/cras_audio_handler.h" | 87 #include "chromeos/audio/cras_audio_handler.h" |
87 #include "chromeos/cert_loader.h" | 88 #include "chromeos/cert_loader.h" |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
121 #include "media/audio/sounds/sounds_manager.h" | 122 #include "media/audio/sounds/sounds_manager.h" |
122 #include "net/base/network_change_notifier.h" | 123 #include "net/base/network_change_notifier.h" |
123 #include "net/socket/ssl_server_socket.h" | 124 #include "net/socket/ssl_server_socket.h" |
124 #include "net/url_request/url_request.h" | 125 #include "net/url_request/url_request.h" |
125 #include "net/url_request/url_request_context_getter.h" | 126 #include "net/url_request/url_request_context_getter.h" |
126 #include "ui/base/ime/chromeos/ime_keyboard.h" | 127 #include "ui/base/ime/chromeos/ime_keyboard.h" |
127 #include "ui/base/ime/chromeos/input_method_manager.h" | 128 #include "ui/base/ime/chromeos/input_method_manager.h" |
128 #include "ui/base/touch/touch_device.h" | 129 #include "ui/base/touch/touch_device.h" |
129 #include "ui/events/event_utils.h" | 130 #include "ui/events/event_utils.h" |
130 | 131 |
131 #if defined(ENABLE_RLZ) | |
132 #include "components/rlz/rlz_tracker.h" | |
133 #endif | |
134 | |
135 // Exclude X11 dependents for ozone | 132 // Exclude X11 dependents for ozone |
136 #if defined(USE_X11) | 133 #if defined(USE_X11) |
137 #include "chrome/browser/chromeos/device_uma.h" | 134 #include "chrome/browser/chromeos/device_uma.h" |
138 #include "chrome/browser/chromeos/events/system_key_event_listener.h" | 135 #include "chrome/browser/chromeos/events/system_key_event_listener.h" |
139 #include "chrome/browser/chromeos/events/xinput_hierarchy_changed_event_listener
.h" | 136 #include "chrome/browser/chromeos/events/xinput_hierarchy_changed_event_listener
.h" |
140 #endif | 137 #endif |
141 | 138 |
142 namespace chromeos { | 139 namespace chromeos { |
143 | 140 |
144 namespace { | 141 namespace { |
(...skipping 628 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
773 // Destroy DBus services immediately after threads are stopped. | 770 // Destroy DBus services immediately after threads are stopped. |
774 dbus_services_.reset(); | 771 dbus_services_.reset(); |
775 | 772 |
776 ChromeBrowserMainPartsLinux::PostDestroyThreads(); | 773 ChromeBrowserMainPartsLinux::PostDestroyThreads(); |
777 | 774 |
778 // Destroy DeviceSettingsService after g_browser_process. | 775 // Destroy DeviceSettingsService after g_browser_process. |
779 DeviceSettingsService::Shutdown(); | 776 DeviceSettingsService::Shutdown(); |
780 } | 777 } |
781 | 778 |
782 } // namespace chromeos | 779 } // namespace chromeos |
OLD | NEW |