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

Side by Side Diff: chromeos/dbus/fake_dbus_thread_manager.h

Issue 101963004: [chromeos] New PowerManagerClient observer to collect power data. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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 #ifndef CHROMEOS_DBUS_FAKE_DBUS_THREAD_MANAGER_H_ 5 #ifndef CHROMEOS_DBUS_FAKE_DBUS_THREAD_MANAGER_H_
6 #define CHROMEOS_DBUS_FAKE_DBUS_THREAD_MANAGER_H_ 6 #define CHROMEOS_DBUS_FAKE_DBUS_THREAD_MANAGER_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/logging.h" 10 #include "base/logging.h"
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 virtual ShillServiceClient* GetShillServiceClient() OVERRIDE; 71 virtual ShillServiceClient* GetShillServiceClient() OVERRIDE;
72 virtual GsmSMSClient* GetGsmSMSClient() OVERRIDE; 72 virtual GsmSMSClient* GetGsmSMSClient() OVERRIDE;
73 virtual ImageBurnerClient* GetImageBurnerClient() OVERRIDE; 73 virtual ImageBurnerClient* GetImageBurnerClient() OVERRIDE;
74 virtual IntrospectableClient* GetIntrospectableClient() OVERRIDE; 74 virtual IntrospectableClient* GetIntrospectableClient() OVERRIDE;
75 virtual ModemMessagingClient* GetModemMessagingClient() OVERRIDE; 75 virtual ModemMessagingClient* GetModemMessagingClient() OVERRIDE;
76 virtual NfcAdapterClient* GetNfcAdapterClient() OVERRIDE; 76 virtual NfcAdapterClient* GetNfcAdapterClient() OVERRIDE;
77 virtual NfcDeviceClient* GetNfcDeviceClient() OVERRIDE; 77 virtual NfcDeviceClient* GetNfcDeviceClient() OVERRIDE;
78 virtual NfcManagerClient* GetNfcManagerClient() OVERRIDE; 78 virtual NfcManagerClient* GetNfcManagerClient() OVERRIDE;
79 virtual NfcTagClient* GetNfcTagClient() OVERRIDE; 79 virtual NfcTagClient* GetNfcTagClient() OVERRIDE;
80 virtual PermissionBrokerClient* GetPermissionBrokerClient() OVERRIDE; 80 virtual PermissionBrokerClient* GetPermissionBrokerClient() OVERRIDE;
81 virtual PowerDataCollector* GetPowerDataCollector();
81 virtual PowerManagerClient* GetPowerManagerClient() OVERRIDE; 82 virtual PowerManagerClient* GetPowerManagerClient() OVERRIDE;
82 virtual PowerPolicyController* GetPowerPolicyController() OVERRIDE; 83 virtual PowerPolicyController* GetPowerPolicyController() OVERRIDE;
83 virtual SessionManagerClient* GetSessionManagerClient() OVERRIDE; 84 virtual SessionManagerClient* GetSessionManagerClient() OVERRIDE;
84 virtual SMSClient* GetSMSClient() OVERRIDE; 85 virtual SMSClient* GetSMSClient() OVERRIDE;
85 virtual SystemClockClient* GetSystemClockClient() OVERRIDE; 86 virtual SystemClockClient* GetSystemClockClient() OVERRIDE;
86 virtual UpdateEngineClient* GetUpdateEngineClient() OVERRIDE; 87 virtual UpdateEngineClient* GetUpdateEngineClient() OVERRIDE;
87 virtual IBusClient* GetIBusClient() OVERRIDE; 88 virtual IBusClient* GetIBusClient() OVERRIDE;
88 89
89 FakeBluetoothAdapterClient* fake_bluetooth_adapter_client() { 90 FakeBluetoothAdapterClient* fake_bluetooth_adapter_client() {
90 return fake_bluetooth_adapter_client_.get(); 91 return fake_bluetooth_adapter_client_.get();
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
194 scoped_ptr<FakeSessionManagerClient> fake_session_manager_client_; 195 scoped_ptr<FakeSessionManagerClient> fake_session_manager_client_;
195 scoped_ptr<FakeShillDeviceClient> fake_shill_device_client_; 196 scoped_ptr<FakeShillDeviceClient> fake_shill_device_client_;
196 scoped_ptr<FakeShillManagerClient> fake_shill_manager_client_; 197 scoped_ptr<FakeShillManagerClient> fake_shill_manager_client_;
197 scoped_ptr<FakeSystemClockClient> fake_system_clock_client_; 198 scoped_ptr<FakeSystemClockClient> fake_system_clock_client_;
198 scoped_ptr<FakePowerManagerClient> fake_power_manager_client_; 199 scoped_ptr<FakePowerManagerClient> fake_power_manager_client_;
199 scoped_ptr<FakeUpdateEngineClient> fake_update_engine_client_; 200 scoped_ptr<FakeUpdateEngineClient> fake_update_engine_client_;
200 201
201 scoped_ptr<MockIBusClient> mock_ibus_client_; 202 scoped_ptr<MockIBusClient> mock_ibus_client_;
202 203
203 scoped_ptr<PowerPolicyController> power_policy_controller_; 204 scoped_ptr<PowerPolicyController> power_policy_controller_;
205 scoped_ptr<PowerDataCollector> power_data_collector_;
204 dbus::Bus* ibus_bus_; 206 dbus::Bus* ibus_bus_;
205 207
206 DISALLOW_COPY_AND_ASSIGN(FakeDBusThreadManager); 208 DISALLOW_COPY_AND_ASSIGN(FakeDBusThreadManager);
207 }; 209 };
208 210
209 } // namespace chromeos 211 } // namespace chromeos
210 212
211 #endif // CHROMEOS_DBUS_FAKE_DBUS_THREAD_MANAGER_H_ 213 #endif // CHROMEOS_DBUS_FAKE_DBUS_THREAD_MANAGER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698