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

Side by Side Diff: chrome/browser/chromeos/dbus/mock_dbus_thread_manager.cc

Issue 8400077: chromeos: Rename functions to be PascalCase. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 #include "chrome/browser/chromeos/dbus/mock_dbus_thread_manager.h" 5 #include "chrome/browser/chromeos/dbus/mock_dbus_thread_manager.h"
6 6
7 #include "chrome/browser/chromeos/dbus/mock_bluetooth_adapter_client.h" 7 #include "chrome/browser/chromeos/dbus/mock_bluetooth_adapter_client.h"
8 #include "chrome/browser/chromeos/dbus/mock_bluetooth_manager_client.h" 8 #include "chrome/browser/chromeos/dbus/mock_bluetooth_manager_client.h"
9 #include "chrome/browser/chromeos/dbus/mock_power_manager_client.h" 9 #include "chrome/browser/chromeos/dbus/mock_power_manager_client.h"
10 #include "chrome/browser/chromeos/dbus/mock_sensors_client.h" 10 #include "chrome/browser/chromeos/dbus/mock_sensors_client.h"
11 #include "chrome/browser/chromeos/dbus/mock_session_manager_client.h" 11 #include "chrome/browser/chromeos/dbus/mock_session_manager_client.h"
12 #include "chrome/browser/chromeos/dbus/mock_speech_synthesizer_client.h" 12 #include "chrome/browser/chromeos/dbus/mock_speech_synthesizer_client.h"
13 13
14 using ::testing::Return; 14 using ::testing::Return;
15 15
16 namespace chromeos { 16 namespace chromeos {
17 17
18 MockDBusThreadManager::MockDBusThreadManager() 18 MockDBusThreadManager::MockDBusThreadManager()
19 : mock_bluetooth_adapter_client_(new MockBluetoothAdapterClient), 19 : mock_bluetooth_adapter_client_(new MockBluetoothAdapterClient),
20 mock_bluetooth_manager_client_(new MockBluetoothManagerClient), 20 mock_bluetooth_manager_client_(new MockBluetoothManagerClient),
21 mock_power_manager_client_(new MockPowerManagerClient), 21 mock_power_manager_client_(new MockPowerManagerClient),
22 mock_sensors_client_(new MockSensorsClient), 22 mock_sensors_client_(new MockSensorsClient),
23 mock_session_manager_client_(new MockSessionManagerClient), 23 mock_session_manager_client_(new MockSessionManagerClient),
24 mock_speech_synthesizer_client_(new MockSpeechSynthesizerClient) { 24 mock_speech_synthesizer_client_(new MockSpeechSynthesizerClient) {
25 EXPECT_CALL(*this, bluetooth_adapter_client()) 25 EXPECT_CALL(*this, GetBluetoothAdapterClient())
26 .WillRepeatedly(Return(mock_bluetooth_adapter_client_.get())); 26 .WillRepeatedly(Return(mock_bluetooth_adapter_client_.get()));
27 EXPECT_CALL(*this, bluetooth_manager_client()) 27 EXPECT_CALL(*this, GetBluetoothManagerClient())
28 .WillRepeatedly(Return(mock_bluetooth_manager_client())); 28 .WillRepeatedly(Return(mock_bluetooth_manager_client()));
29 EXPECT_CALL(*this, power_manager_client()) 29 EXPECT_CALL(*this, GetPowerManagerClient())
30 .WillRepeatedly(Return(mock_power_manager_client_.get())); 30 .WillRepeatedly(Return(mock_power_manager_client_.get()));
31 EXPECT_CALL(*this, sensors_client()) 31 EXPECT_CALL(*this, GetSensorsClient())
32 .WillRepeatedly(Return(mock_sensors_client_.get())); 32 .WillRepeatedly(Return(mock_sensors_client_.get()));
33 EXPECT_CALL(*this, session_manager_client()) 33 EXPECT_CALL(*this, GetSessionManagerClient())
34 .WillRepeatedly(Return(mock_session_manager_client_.get())); 34 .WillRepeatedly(Return(mock_session_manager_client_.get()));
35 EXPECT_CALL(*this, speech_synthesizer_client()) 35 EXPECT_CALL(*this, GetSpeechSynthesizerClient())
36 .WillRepeatedly(Return(mock_speech_synthesizer_client_.get())); 36 .WillRepeatedly(Return(mock_speech_synthesizer_client_.get()));
37 } 37 }
38 38
39 MockDBusThreadManager::~MockDBusThreadManager() {} 39 MockDBusThreadManager::~MockDBusThreadManager() {}
40 40
41 } // namespace chromeos 41 } // namespace chromeos
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/dbus/mock_dbus_thread_manager.h ('k') | chrome/browser/chromeos/enterprise_extension_observer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698