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

Side by Side Diff: chromeos/dbus/shill_stub_helper.cc

Issue 31773002: cryptohome: Convet all *Stub classes into Fake* classes (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: address comments Created 7 years, 2 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 | « chromeos/dbus/shill_stub_helper.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 "chromeos/dbus/shill_stub_helper.h" 5 #include "chromeos/dbus/shill_stub_helper.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/command_line.h" 8 #include "base/command_line.h"
9 #include "chromeos/chromeos_switches.h" 9 #include "chromeos/chromeos_switches.h"
10 #include "chromeos/dbus/dbus_thread_manager.h" 10 #include "chromeos/dbus/dbus_thread_manager.h"
11 #include "chromeos/dbus/shill_device_client.h" 11 #include "chromeos/dbus/shill_device_client.h"
12 #include "chromeos/dbus/shill_manager_client.h" 12 #include "chromeos/dbus/shill_manager_client.h"
13 #include "chromeos/dbus/shill_profile_client.h" 13 #include "chromeos/dbus/shill_profile_client.h"
14 #include "chromeos/dbus/shill_profile_client_stub.h"
15 #include "chromeos/dbus/shill_service_client.h" 14 #include "chromeos/dbus/shill_service_client.h"
16 #include "third_party/cros_system_api/dbus/service_constants.h" 15 #include "third_party/cros_system_api/dbus/service_constants.h"
17 16
18 namespace chromeos { 17 namespace chromeos {
19 namespace shill_stub_helper { 18 namespace shill_stub_helper {
20 19
21 namespace { 20 namespace {
22 21
23 const char kDevicePathEthernet[] = "/device/eth1"; 22 const char kDevicePathEthernet[] = "/device/eth1";
24 const char kDevicePathWifi[] = "/device/wifi1"; 23 const char kDevicePathWifi[] = "/device/wifi1";
(...skipping 178 matching lines...) Expand 10 before | Expand all | Expand 10 after
203 return kDevicePathWifi; 202 return kDevicePathWifi;
204 if (type == shill::kTypeCellular) 203 if (type == shill::kTypeCellular)
205 return kDevicePathCellular; 204 return kDevicePathCellular;
206 if (type == shill::kTypeWimax) 205 if (type == shill::kTypeWimax)
207 return kDevicePathWimax; 206 return kDevicePathWimax;
208 return ""; 207 return "";
209 } 208 }
210 209
211 } // namespace shill_stub_helper 210 } // namespace shill_stub_helper
212 } // namespace chromeos 211 } // namespace chromeos
OLDNEW
« no previous file with comments | « chromeos/dbus/shill_stub_helper.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698