Fix race condition in WebstoreInstallHelper.
[chromium-blink-merge.git] / chromeos / network / fake_network_device_handler.cc
blob536ea9f2898fdf43e148d2b0feeaeaebcbedaf79
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
3 // found in the LICENSE file.
5 #include "chromeos/network/fake_network_device_handler.h"
7 namespace chromeos {
9 FakeNetworkDeviceHandler::FakeNetworkDeviceHandler() {}
11 FakeNetworkDeviceHandler::~FakeNetworkDeviceHandler() {}
13 void FakeNetworkDeviceHandler::GetDeviceProperties(
14 const std::string& device_path,
15 const network_handler::DictionaryResultCallback& callback,
16 const network_handler::ErrorCallback& error_callback) const {}
18 void FakeNetworkDeviceHandler::SetDeviceProperty(
19 const std::string& device_path,
20 const std::string& property_name,
21 const base::Value& value,
22 const base::Closure& callback,
23 const network_handler::ErrorCallback& error_callback) {}
25 void FakeNetworkDeviceHandler::RequestRefreshIPConfigs(
26 const std::string& device_path,
27 const base::Closure& callback,
28 const network_handler::ErrorCallback& error_callback) {}
30 void FakeNetworkDeviceHandler::ProposeScan(
31 const std::string& device_path,
32 const base::Closure& callback,
33 const network_handler::ErrorCallback& error_callback) {}
35 void FakeNetworkDeviceHandler::RegisterCellularNetwork(
36 const std::string& device_path,
37 const std::string& network_id,
38 const base::Closure& callback,
39 const network_handler::ErrorCallback& error_callback) {}
41 void FakeNetworkDeviceHandler::SetCarrier(
42 const std::string& device_path,
43 const std::string& carrier,
44 const base::Closure& callback,
45 const network_handler::ErrorCallback& error_callback) {}
47 void FakeNetworkDeviceHandler::RequirePin(
48 const std::string& device_path,
49 bool require_pin,
50 const std::string& pin,
51 const base::Closure& callback,
52 const network_handler::ErrorCallback& error_callback) {}
54 void FakeNetworkDeviceHandler::EnterPin(
55 const std::string& device_path,
56 const std::string& pin,
57 const base::Closure& callback,
58 const network_handler::ErrorCallback& error_callback) {}
60 void FakeNetworkDeviceHandler::UnblockPin(
61 const std::string& device_path,
62 const std::string& puk,
63 const std::string& new_pin,
64 const base::Closure& callback,
65 const network_handler::ErrorCallback& error_callback) {}
67 void FakeNetworkDeviceHandler::ChangePin(
68 const std::string& device_path,
69 const std::string& old_pin,
70 const std::string& new_pin,
71 const base::Closure& callback,
72 const network_handler::ErrorCallback& error_callback) {}
74 void FakeNetworkDeviceHandler::SetCellularAllowRoaming(bool allow_roaming) {}
76 void FakeNetworkDeviceHandler::SetWifiTDLSEnabled(
77 const std::string& ip_or_mac_address,
78 bool enabled,
79 const network_handler::StringResultCallback& callback,
80 const network_handler::ErrorCallback& error_callback) {}
82 void FakeNetworkDeviceHandler::GetWifiTDLSStatus(
83 const std::string& ip_or_mac_address,
84 const network_handler::StringResultCallback& callback,
85 const network_handler::ErrorCallback& error_callback) {}
87 void FakeNetworkDeviceHandler::AddWifiWakeOnPacketConnection(
88 const net::IPEndPoint& ip_endpoint,
89 const base::Closure& callback,
90 const network_handler::ErrorCallback& error_callback) {}
92 void FakeNetworkDeviceHandler::RemoveWifiWakeOnPacketConnection(
93 const net::IPEndPoint& ip_endpoint,
94 const base::Closure& callback,
95 const network_handler::ErrorCallback& error_callback) {}
97 void FakeNetworkDeviceHandler::RemoveAllWifiWakeOnPacketConnections(
98 const base::Closure& callback,
99 const network_handler::ErrorCallback& error_callback) {}
101 } // namespace chromeos