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

Side by Side Diff: chrome/browser/chromeos/system/ash_system_tray_delegate.cc

Issue 109743002: Move policy code into components/policy. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: moar fixes Created 7 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) 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 #include "chrome/browser/chromeos/system/ash_system_tray_delegate.h" 5 #include "chrome/browser/chromeos/system/ash_system_tray_delegate.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <set> 8 #include <set>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 #include "chrome/browser/chromeos/options/network_config_view.h" 64 #include "chrome/browser/chromeos/options/network_config_view.h"
65 #include "chrome/browser/chromeos/policy/device_cloud_policy_manager_chromeos.h" 65 #include "chrome/browser/chromeos/policy/device_cloud_policy_manager_chromeos.h"
66 #include "chrome/browser/chromeos/settings/cros_settings.h" 66 #include "chrome/browser/chromeos/settings/cros_settings.h"
67 #include "chrome/browser/chromeos/sim_dialog_delegate.h" 67 #include "chrome/browser/chromeos/sim_dialog_delegate.h"
68 #include "chrome/browser/chromeos/system_key_event_listener.h" 68 #include "chrome/browser/chromeos/system_key_event_listener.h"
69 #include "chrome/browser/drive/drive_service_interface.h" 69 #include "chrome/browser/drive/drive_service_interface.h"
70 #include "chrome/browser/feedback/tracing_manager.h" 70 #include "chrome/browser/feedback/tracing_manager.h"
71 #include "chrome/browser/google/google_util.h" 71 #include "chrome/browser/google/google_util.h"
72 #include "chrome/browser/lifetime/application_lifetime.h" 72 #include "chrome/browser/lifetime/application_lifetime.h"
73 #include "chrome/browser/policy/browser_policy_connector.h" 73 #include "chrome/browser/policy/browser_policy_connector.h"
74 #include "chrome/browser/policy/cloud/cloud_policy_store.h"
75 #include "chrome/browser/profiles/profile_manager.h" 74 #include "chrome/browser/profiles/profile_manager.h"
76 #include "chrome/browser/ui/ash/volume_controller_chromeos.h" 75 #include "chrome/browser/ui/ash/volume_controller_chromeos.h"
77 #include "chrome/browser/ui/browser.h" 76 #include "chrome/browser/ui/browser.h"
78 #include "chrome/browser/ui/browser_finder.h" 77 #include "chrome/browser/ui/browser_finder.h"
79 #include "chrome/browser/ui/chrome_pages.h" 78 #include "chrome/browser/ui/chrome_pages.h"
80 #include "chrome/browser/ui/host_desktop.h" 79 #include "chrome/browser/ui/host_desktop.h"
81 #include "chrome/browser/ui/scoped_tabbed_browser_displayer.h" 80 #include "chrome/browser/ui/scoped_tabbed_browser_displayer.h"
82 #include "chrome/browser/ui/singleton_tabs.h" 81 #include "chrome/browser/ui/singleton_tabs.h"
83 #include "chrome/browser/ui/tabs/tab_strip_model.h" 82 #include "chrome/browser/ui/tabs/tab_strip_model.h"
84 #include "chrome/browser/ui/webui/chromeos/mobile_setup_dialog.h" 83 #include "chrome/browser/ui/webui/chromeos/mobile_setup_dialog.h"
85 #include "chrome/browser/upgrade_detector.h" 84 #include "chrome/browser/upgrade_detector.h"
86 #include "chrome/common/pref_names.h" 85 #include "chrome/common/pref_names.h"
87 #include "chrome/common/url_constants.h" 86 #include "chrome/common/url_constants.h"
88 #include "chromeos/chromeos_switches.h" 87 #include "chromeos/chromeos_switches.h"
89 #include "chromeos/dbus/dbus_thread_manager.h" 88 #include "chromeos/dbus/dbus_thread_manager.h"
90 #include "chromeos/dbus/session_manager_client.h" 89 #include "chromeos/dbus/session_manager_client.h"
91 #include "chromeos/ime/extension_ime_util.h" 90 #include "chromeos/ime/extension_ime_util.h"
92 #include "chromeos/ime/input_method_manager.h" 91 #include "chromeos/ime/input_method_manager.h"
93 #include "chromeos/ime/xkeyboard.h" 92 #include "chromeos/ime/xkeyboard.h"
94 #include "chromeos/login/login_state.h" 93 #include "chromeos/login/login_state.h"
94 #include "components/policy/core/common/cloud/cloud_policy_store.h"
95 #include "content/public/browser/browser_thread.h" 95 #include "content/public/browser/browser_thread.h"
96 #include "content/public/browser/notification_observer.h" 96 #include "content/public/browser/notification_observer.h"
97 #include "content/public/browser/notification_service.h" 97 #include "content/public/browser/notification_service.h"
98 #include "content/public/browser/user_metrics.h" 98 #include "content/public/browser/user_metrics.h"
99 #include "content/public/browser/web_contents.h" 99 #include "content/public/browser/web_contents.h"
100 #include "device/bluetooth/bluetooth_adapter.h" 100 #include "device/bluetooth/bluetooth_adapter.h"
101 #include "device/bluetooth/bluetooth_adapter_factory.h" 101 #include "device/bluetooth/bluetooth_adapter_factory.h"
102 #include "device/bluetooth/bluetooth_device.h" 102 #include "device/bluetooth/bluetooth_device.h"
103 #include "grit/ash_strings.h" 103 #include "grit/ash_strings.h"
104 #include "grit/generated_resources.h" 104 #include "grit/generated_resources.h"
(...skipping 1133 matching lines...) Expand 10 before | Expand all | Expand 10 after
1238 DISALLOW_COPY_AND_ASSIGN(SystemTrayDelegate); 1238 DISALLOW_COPY_AND_ASSIGN(SystemTrayDelegate);
1239 }; 1239 };
1240 1240
1241 } // namespace 1241 } // namespace
1242 1242
1243 ash::SystemTrayDelegate* CreateSystemTrayDelegate() { 1243 ash::SystemTrayDelegate* CreateSystemTrayDelegate() {
1244 return new chromeos::SystemTrayDelegate(); 1244 return new chromeos::SystemTrayDelegate();
1245 } 1245 }
1246 1246
1247 } // namespace chromeos 1247 } // namespace chromeos
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698