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

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, 2 months 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 19 matching lines...) Expand all
30 class IdleActionWarningObserver; 30 class IdleActionWarningObserver;
31 class LoginLockStateNotifier; 31 class LoginLockStateNotifier;
32 class LowDiskNotification; 32 class LowDiskNotification;
33 class MagnificationManager; 33 class MagnificationManager;
34 class PeripheralBatteryObserver; 34 class PeripheralBatteryObserver;
35 class PowerPrefs; 35 class PowerPrefs;
36 class RendererFreezer; 36 class RendererFreezer;
37 class SessionManagerObserver; 37 class SessionManagerObserver;
38 class SwapMetrics; 38 class SwapMetrics;
39 class WakeOnWifiManager; 39 class WakeOnWifiManager;
40 class NetworkThrottlingObserver;
40 41
41 namespace default_app_order { 42 namespace default_app_order {
42 class ExternalLoader; 43 class ExternalLoader;
43 } 44 }
44 45
45 namespace internal { 46 namespace internal {
46 class DBusServices; 47 class DBusServices;
47 } 48 }
48 49
49 class ChromeBrowserMainPartsChromeos : public ChromeBrowserMainPartsLinux { 50 class ChromeBrowserMainPartsChromeos : public ChromeBrowserMainPartsLinux {
(...skipping 20 matching lines...) Expand all
70 private: 71 private:
71 std::unique_ptr<default_app_order::ExternalLoader> app_order_loader_; 72 std::unique_ptr<default_app_order::ExternalLoader> app_order_loader_;
72 std::unique_ptr<ExtensionVolumeObserver> extension_volume_observer_; 73 std::unique_ptr<ExtensionVolumeObserver> extension_volume_observer_;
73 std::unique_ptr<PeripheralBatteryObserver> peripheral_battery_observer_; 74 std::unique_ptr<PeripheralBatteryObserver> peripheral_battery_observer_;
74 std::unique_ptr<PowerPrefs> power_prefs_; 75 std::unique_ptr<PowerPrefs> power_prefs_;
75 std::unique_ptr<LoginLockStateNotifier> login_lock_state_notifier_; 76 std::unique_ptr<LoginLockStateNotifier> login_lock_state_notifier_;
76 std::unique_ptr<IdleActionWarningObserver> idle_action_warning_observer_; 77 std::unique_ptr<IdleActionWarningObserver> idle_action_warning_observer_;
77 std::unique_ptr<DataPromoNotification> data_promo_notification_; 78 std::unique_ptr<DataPromoNotification> data_promo_notification_;
78 std::unique_ptr<RendererFreezer> renderer_freezer_; 79 std::unique_ptr<RendererFreezer> renderer_freezer_;
79 std::unique_ptr<WakeOnWifiManager> wake_on_wifi_manager_; 80 std::unique_ptr<WakeOnWifiManager> wake_on_wifi_manager_;
81 std::unique_ptr<NetworkThrottlingObserver> network_throttling_observer_;
80 82
81 std::unique_ptr<internal::DBusServices> dbus_services_; 83 std::unique_ptr<internal::DBusServices> dbus_services_;
82 84
83 std::unique_ptr<session_manager::SessionManager> session_manager_; 85 std::unique_ptr<session_manager::SessionManager> session_manager_;
84 86
85 std::unique_ptr<EventRewriterController> keyboard_event_rewriters_; 87 std::unique_ptr<EventRewriterController> keyboard_event_rewriters_;
86 88
87 scoped_refptr<chromeos::ExternalMetrics> external_metrics_; 89 scoped_refptr<chromeos::ExternalMetrics> external_metrics_;
88 90
89 std::unique_ptr<arc::ArcServiceLauncher> arc_service_launcher_; 91 std::unique_ptr<arc::ArcServiceLauncher> arc_service_launcher_;
90 92
91 std::unique_ptr<LowDiskNotification> low_disk_notification_; 93 std::unique_ptr<LowDiskNotification> low_disk_notification_;
92 94
93 DISALLOW_COPY_AND_ASSIGN(ChromeBrowserMainPartsChromeos); 95 DISALLOW_COPY_AND_ASSIGN(ChromeBrowserMainPartsChromeos);
94 }; 96 };
95 97
96 } // namespace chromeos 98 } // namespace chromeos
97 99
98 #endif // CHROME_BROWSER_CHROMEOS_CHROME_BROWSER_MAIN_CHROMEOS_H_ 100 #endif // CHROME_BROWSER_CHROMEOS_CHROME_BROWSER_MAIN_CHROMEOS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698