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

Side by Side Diff: device/bluetooth/test/mock_bluetooth_device.cc

Issue 112963005: Update uses of UTF conversions in courgette/, device/, extensions/, google_apis/, gpu/, ipc/, media… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 12 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
« no previous file with comments | « device/bluetooth/bluetooth_device.cc ('k') | extensions/browser/admin_policy.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #include "device/bluetooth/test/mock_bluetooth_device.h" 5 #include "device/bluetooth/test/mock_bluetooth_device.h"
6 6
7 #include "base/strings/utf_string_conversions.h" 7 #include "base/strings/utf_string_conversions.h"
8 #include "device/bluetooth/test/mock_bluetooth_adapter.h" 8 #include "device/bluetooth/test/mock_bluetooth_adapter.h"
9 9
10 namespace device { 10 namespace device {
(...skipping 15 matching lines...) Expand all
26 .WillByDefault(testing::Return(address_)); 26 .WillByDefault(testing::Return(address_));
27 ON_CALL(*this, IsPaired()) 27 ON_CALL(*this, IsPaired())
28 .WillByDefault(testing::Return(paired)); 28 .WillByDefault(testing::Return(paired));
29 ON_CALL(*this, IsConnected()) 29 ON_CALL(*this, IsConnected())
30 .WillByDefault(testing::Return(connected)); 30 .WillByDefault(testing::Return(connected));
31 ON_CALL(*this, IsConnectable()) 31 ON_CALL(*this, IsConnectable())
32 .WillByDefault(testing::Return(false)); 32 .WillByDefault(testing::Return(false));
33 ON_CALL(*this, IsConnecting()) 33 ON_CALL(*this, IsConnecting())
34 .WillByDefault(testing::Return(false)); 34 .WillByDefault(testing::Return(false));
35 ON_CALL(*this, GetName()) 35 ON_CALL(*this, GetName())
36 .WillByDefault(testing::Return(UTF8ToUTF16(name_))); 36 .WillByDefault(testing::Return(base::UTF8ToUTF16(name_)));
37 ON_CALL(*this, ExpectingPinCode()) 37 ON_CALL(*this, ExpectingPinCode())
38 .WillByDefault(testing::Return(false)); 38 .WillByDefault(testing::Return(false));
39 ON_CALL(*this, ExpectingPasskey()) 39 ON_CALL(*this, ExpectingPasskey())
40 .WillByDefault(testing::Return(false)); 40 .WillByDefault(testing::Return(false));
41 ON_CALL(*this, ExpectingConfirmation()) 41 ON_CALL(*this, ExpectingConfirmation())
42 .WillByDefault(testing::Return(false)); 42 .WillByDefault(testing::Return(false));
43 ON_CALL(*this, GetServices()) 43 ON_CALL(*this, GetServices())
44 .WillByDefault(testing::Return(service_list_)); 44 .WillByDefault(testing::Return(service_list_));
45 } 45 }
46 46
47 MockBluetoothDevice::~MockBluetoothDevice() {} 47 MockBluetoothDevice::~MockBluetoothDevice() {}
48 48
49 } // namespace device 49 } // namespace device
OLDNEW
« no previous file with comments | « device/bluetooth/bluetooth_device.cc ('k') | extensions/browser/admin_policy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698