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

Side by Side Diff: chromeos/dbus/mock_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_MOCK_DBUS_THREAD_MANAGER_H_ 5 #ifndef CHROMEOS_DBUS_MOCK_DBUS_THREAD_MANAGER_H_
6 #define CHROMEOS_DBUS_MOCK_DBUS_THREAD_MANAGER_H_ 6 #define CHROMEOS_DBUS_MOCK_DBUS_THREAD_MANAGER_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/observer_list.h" 10 #include "base/observer_list.h"
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 MOCK_METHOD0(GetShillServiceClient, ShillServiceClient*(void)); 72 MOCK_METHOD0(GetShillServiceClient, ShillServiceClient*(void));
73 MOCK_METHOD0(GetGsmSMSClient, GsmSMSClient*(void)); 73 MOCK_METHOD0(GetGsmSMSClient, GsmSMSClient*(void));
74 MOCK_METHOD0(GetImageBurnerClient, ImageBurnerClient*(void)); 74 MOCK_METHOD0(GetImageBurnerClient, ImageBurnerClient*(void));
75 MOCK_METHOD0(GetIntrospectableClient, IntrospectableClient*(void)); 75 MOCK_METHOD0(GetIntrospectableClient, IntrospectableClient*(void));
76 MOCK_METHOD0(GetModemMessagingClient, ModemMessagingClient*(void)); 76 MOCK_METHOD0(GetModemMessagingClient, ModemMessagingClient*(void));
77 MOCK_METHOD0(GetNfcAdapterClient, NfcAdapterClient*(void)); 77 MOCK_METHOD0(GetNfcAdapterClient, NfcAdapterClient*(void));
78 MOCK_METHOD0(GetNfcDeviceClient, NfcDeviceClient*(void)); 78 MOCK_METHOD0(GetNfcDeviceClient, NfcDeviceClient*(void));
79 MOCK_METHOD0(GetNfcManagerClient, NfcManagerClient*(void)); 79 MOCK_METHOD0(GetNfcManagerClient, NfcManagerClient*(void));
80 MOCK_METHOD0(GetNfcTagClient, NfcTagClient*(void)); 80 MOCK_METHOD0(GetNfcTagClient, NfcTagClient*(void));
81 MOCK_METHOD0(GetPermissionBrokerClient, PermissionBrokerClient*(void)); 81 MOCK_METHOD0(GetPermissionBrokerClient, PermissionBrokerClient*(void));
82 MOCK_METHOD0(GetPowerDataCollector, PowerDataCollector*(void));
82 MOCK_METHOD0(GetPowerManagerClient, PowerManagerClient*(void)); 83 MOCK_METHOD0(GetPowerManagerClient, PowerManagerClient*(void));
83 MOCK_METHOD0(GetPowerPolicyController, PowerPolicyController*(void)); 84 MOCK_METHOD0(GetPowerPolicyController, PowerPolicyController*(void));
84 MOCK_METHOD0(GetSessionManagerClient, SessionManagerClient*(void)); 85 MOCK_METHOD0(GetSessionManagerClient, SessionManagerClient*(void));
85 MOCK_METHOD0(GetSMSClient, SMSClient*(void)); 86 MOCK_METHOD0(GetSMSClient, SMSClient*(void));
86 MOCK_METHOD0(GetSystemClockClient, SystemClockClient*(void)); 87 MOCK_METHOD0(GetSystemClockClient, SystemClockClient*(void));
87 MOCK_METHOD0(GetUpdateEngineClient, UpdateEngineClient*(void)); 88 MOCK_METHOD0(GetUpdateEngineClient, UpdateEngineClient*(void));
88 MOCK_METHOD0(GetIBusClient, IBusClient*(void)); 89 MOCK_METHOD0(GetIBusClient, IBusClient*(void));
89 90
90 FakeBluetoothAdapterClient* fake_bluetooth_adapter_client() { 91 FakeBluetoothAdapterClient* fake_bluetooth_adapter_client() {
91 return fake_bluetooth_adapter_client_.get(); 92 return fake_bluetooth_adapter_client_.get();
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
163 scoped_ptr<MockShillProfileClient> mock_shill_profile_client_; 164 scoped_ptr<MockShillProfileClient> mock_shill_profile_client_;
164 scoped_ptr<MockShillServiceClient> mock_shill_service_client_; 165 scoped_ptr<MockShillServiceClient> mock_shill_service_client_;
165 scoped_ptr<MockSessionManagerClient> mock_session_manager_client_; 166 scoped_ptr<MockSessionManagerClient> mock_session_manager_client_;
166 167
167 DISALLOW_COPY_AND_ASSIGN(MockDBusThreadManager); 168 DISALLOW_COPY_AND_ASSIGN(MockDBusThreadManager);
168 }; 169 };
169 170
170 } // namespace chromeos 171 } // namespace chromeos
171 172
172 #endif // CHROMEOS_DBUS_MOCK_DBUS_THREAD_MANAGER_H_ 173 #endif // CHROMEOS_DBUS_MOCK_DBUS_THREAD_MANAGER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698