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

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

Issue 12564007: Hook up system clock update dbus signal to chrome and ash tray ui. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix MockDBusThreadManagerWithoutGMock compiling issue. Created 7 years, 9 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 | 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 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 MOCK_METHOD0(GetShillServiceClient, ShillServiceClient*(void)); 75 MOCK_METHOD0(GetShillServiceClient, ShillServiceClient*(void));
76 MOCK_METHOD0(GetGsmSMSClient, GsmSMSClient*(void)); 76 MOCK_METHOD0(GetGsmSMSClient, GsmSMSClient*(void));
77 MOCK_METHOD0(GetImageBurnerClient, ImageBurnerClient*(void)); 77 MOCK_METHOD0(GetImageBurnerClient, ImageBurnerClient*(void));
78 MOCK_METHOD0(GetIntrospectableClient, IntrospectableClient*(void)); 78 MOCK_METHOD0(GetIntrospectableClient, IntrospectableClient*(void));
79 MOCK_METHOD0(GetModemMessagingClient, ModemMessagingClient*(void)); 79 MOCK_METHOD0(GetModemMessagingClient, ModemMessagingClient*(void));
80 MOCK_METHOD0(GetPermissionBrokerClient, PermissionBrokerClient*(void)); 80 MOCK_METHOD0(GetPermissionBrokerClient, PermissionBrokerClient*(void));
81 MOCK_METHOD0(GetPowerManagerClient, PowerManagerClient*(void)); 81 MOCK_METHOD0(GetPowerManagerClient, PowerManagerClient*(void));
82 MOCK_METHOD0(GetPowerPolicyController, PowerPolicyController*(void)); 82 MOCK_METHOD0(GetPowerPolicyController, PowerPolicyController*(void));
83 MOCK_METHOD0(GetSessionManagerClient, SessionManagerClient*(void)); 83 MOCK_METHOD0(GetSessionManagerClient, SessionManagerClient*(void));
84 MOCK_METHOD0(GetSMSClient, SMSClient*(void)); 84 MOCK_METHOD0(GetSMSClient, SMSClient*(void));
85 MOCK_METHOD0(GetSystemClockClient, SystemClockClient*(void));
85 MOCK_METHOD0(GetUpdateEngineClient, UpdateEngineClient*(void)); 86 MOCK_METHOD0(GetUpdateEngineClient, UpdateEngineClient*(void));
86 MOCK_METHOD0(GetIBusClient, IBusClient*(void)); 87 MOCK_METHOD0(GetIBusClient, IBusClient*(void));
87 MOCK_METHOD0(GetIBusConfigClient, IBusConfigClient*(void)); 88 MOCK_METHOD0(GetIBusConfigClient, IBusConfigClient*(void));
88 MOCK_METHOD0(GetIBusInputContextClient, IBusInputContextClient*(void)); 89 MOCK_METHOD0(GetIBusInputContextClient, IBusInputContextClient*(void));
89 MOCK_METHOD0(GetIBusEngineFactoryService, IBusEngineFactoryService*(void)); 90 MOCK_METHOD0(GetIBusEngineFactoryService, IBusEngineFactoryService*(void));
90 MOCK_METHOD1(GetIBusEngineService, 91 MOCK_METHOD1(GetIBusEngineService,
91 IBusEngineService*(const dbus::ObjectPath& object_path)); 92 IBusEngineService*(const dbus::ObjectPath& object_path));
92 MOCK_METHOD1(RemoveIBusEngineService, 93 MOCK_METHOD1(RemoveIBusEngineService,
93 void(const dbus::ObjectPath& object_path)); 94 void(const dbus::ObjectPath& object_path));
94 MOCK_METHOD0(GetIBusPanelService, IBusPanelService*(void)); 95 MOCK_METHOD0(GetIBusPanelService, IBusPanelService*(void));
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
192 scoped_ptr<MockSMSClient> mock_sms_client_; 193 scoped_ptr<MockSMSClient> mock_sms_client_;
193 scoped_ptr<MockUpdateEngineClient> mock_update_engine_client_; 194 scoped_ptr<MockUpdateEngineClient> mock_update_engine_client_;
194 scoped_ptr<PowerPolicyController> power_policy_controller_; 195 scoped_ptr<PowerPolicyController> power_policy_controller_;
195 196
196 DISALLOW_COPY_AND_ASSIGN(MockDBusThreadManager); 197 DISALLOW_COPY_AND_ASSIGN(MockDBusThreadManager);
197 }; 198 };
198 199
199 } // namespace chromeos 200 } // namespace chromeos
200 201
201 #endif // CHROMEOS_DBUS_MOCK_DBUS_THREAD_MANAGER_H_ 202 #endif // CHROMEOS_DBUS_MOCK_DBUS_THREAD_MANAGER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698