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

Side by Side Diff: chrome/browser/chromeos/chrome_browser_main_chromeos.h

Issue 2364703002: Add network throttling as an enterprise policy (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add network bandwidth throttling as an enterprise policy Created 4 years, 1 month 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
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 #ifndef CHROME_BROWSER_CHROMEOS_CHROME_BROWSER_MAIN_CHROMEOS_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_CHROME_BROWSER_MAIN_CHROMEOS_H_
6 #define CHROME_BROWSER_CHROMEOS_CHROME_BROWSER_MAIN_CHROMEOS_H_ 6 #define CHROME_BROWSER_CHROMEOS_CHROME_BROWSER_MAIN_CHROMEOS_H_
7 7
8 #include <memory> 8 #include <memory>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
(...skipping 18 matching lines...) Expand all
29 class IdleActionWarningObserver; 29 class IdleActionWarningObserver;
30 class LoginLockStateNotifier; 30 class LoginLockStateNotifier;
31 class LowDiskNotification; 31 class LowDiskNotification;
32 class MagnificationManager; 32 class MagnificationManager;
33 class PeripheralBatteryObserver; 33 class PeripheralBatteryObserver;
34 class PowerPrefs; 34 class PowerPrefs;
35 class RendererFreezer; 35 class RendererFreezer;
36 class SessionManagerObserver; 36 class SessionManagerObserver;
37 class SwapMetrics; 37 class SwapMetrics;
38 class WakeOnWifiManager; 38 class WakeOnWifiManager;
39 class NetworkThrottlingObserver;
39 40
40 namespace default_app_order { 41 namespace default_app_order {
41 class ExternalLoader; 42 class ExternalLoader;
42 } 43 }
43 44
44 namespace internal { 45 namespace internal {
45 class DBusServices; 46 class DBusServices;
46 } 47 }
47 48
48 class ChromeBrowserMainPartsChromeos : public ChromeBrowserMainPartsLinux { 49 class ChromeBrowserMainPartsChromeos : public ChromeBrowserMainPartsLinux {
(...skipping 19 matching lines...) Expand all
68 69
69 private: 70 private:
70 std::unique_ptr<default_app_order::ExternalLoader> app_order_loader_; 71 std::unique_ptr<default_app_order::ExternalLoader> app_order_loader_;
71 std::unique_ptr<PeripheralBatteryObserver> peripheral_battery_observer_; 72 std::unique_ptr<PeripheralBatteryObserver> peripheral_battery_observer_;
72 std::unique_ptr<PowerPrefs> power_prefs_; 73 std::unique_ptr<PowerPrefs> power_prefs_;
73 std::unique_ptr<LoginLockStateNotifier> login_lock_state_notifier_; 74 std::unique_ptr<LoginLockStateNotifier> login_lock_state_notifier_;
74 std::unique_ptr<IdleActionWarningObserver> idle_action_warning_observer_; 75 std::unique_ptr<IdleActionWarningObserver> idle_action_warning_observer_;
75 std::unique_ptr<DataPromoNotification> data_promo_notification_; 76 std::unique_ptr<DataPromoNotification> data_promo_notification_;
76 std::unique_ptr<RendererFreezer> renderer_freezer_; 77 std::unique_ptr<RendererFreezer> renderer_freezer_;
77 std::unique_ptr<WakeOnWifiManager> wake_on_wifi_manager_; 78 std::unique_ptr<WakeOnWifiManager> wake_on_wifi_manager_;
79 std::unique_ptr<NetworkThrottlingObserver> network_throttling_observer_;
78 80
79 std::unique_ptr<internal::DBusServices> dbus_services_; 81 std::unique_ptr<internal::DBusServices> dbus_services_;
80 82
81 std::unique_ptr<session_manager::SessionManager> session_manager_; 83 std::unique_ptr<session_manager::SessionManager> session_manager_;
82 84
83 std::unique_ptr<EventRewriterController> keyboard_event_rewriters_; 85 std::unique_ptr<EventRewriterController> keyboard_event_rewriters_;
84 86
85 scoped_refptr<chromeos::ExternalMetrics> external_metrics_; 87 scoped_refptr<chromeos::ExternalMetrics> external_metrics_;
86 88
87 std::unique_ptr<arc::ArcServiceLauncher> arc_service_launcher_; 89 std::unique_ptr<arc::ArcServiceLauncher> arc_service_launcher_;
88 90
89 std::unique_ptr<LowDiskNotification> low_disk_notification_; 91 std::unique_ptr<LowDiskNotification> low_disk_notification_;
90 92
91 DISALLOW_COPY_AND_ASSIGN(ChromeBrowserMainPartsChromeos); 93 DISALLOW_COPY_AND_ASSIGN(ChromeBrowserMainPartsChromeos);
92 }; 94 };
93 95
94 } // namespace chromeos 96 } // namespace chromeos
95 97
96 #endif // CHROME_BROWSER_CHROMEOS_CHROME_BROWSER_MAIN_CHROMEOS_H_ 98 #endif // CHROME_BROWSER_CHROMEOS_CHROME_BROWSER_MAIN_CHROMEOS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698