15d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)// Copyright 2013 The Chromium Authors. All rights reserved. 25d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)// Use of this source code is governed by a BSD-style license that can be 35d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)// found in the LICENSE file. 45d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) 55d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)#include "chromeos/network/fake_network_device_handler.h" 65d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) 75d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)namespace chromeos { 85d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) 95d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)FakeNetworkDeviceHandler::FakeNetworkDeviceHandler() {} 105d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) 115d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)FakeNetworkDeviceHandler::~FakeNetworkDeviceHandler() {} 125d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) 135d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)void FakeNetworkDeviceHandler::GetDeviceProperties( 145d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) const std::string& device_path, 155d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) const network_handler::DictionaryResultCallback& callback, 165d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) const network_handler::ErrorCallback& error_callback) const {} 175d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) 185d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)void FakeNetworkDeviceHandler::SetDeviceProperty( 195d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) const std::string& device_path, 205d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) const std::string& property_name, 215d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) const base::Value& value, 225d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) const base::Closure& callback, 235d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) const network_handler::ErrorCallback& error_callback) {} 245d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) 255d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)void FakeNetworkDeviceHandler::RequestRefreshIPConfigs( 265d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) const std::string& device_path, 275d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) const base::Closure& callback, 285d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) const network_handler::ErrorCallback& error_callback) {} 295d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) 305d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)void FakeNetworkDeviceHandler::ProposeScan( 315d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) const std::string& device_path, 325d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) const base::Closure& callback, 335d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) const network_handler::ErrorCallback& error_callback) {} 345d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) 355d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)void FakeNetworkDeviceHandler::RegisterCellularNetwork( 365d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) const std::string& device_path, 375d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) const std::string& network_id, 385d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) const base::Closure& callback, 395d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) const network_handler::ErrorCallback& error_callback) {} 405d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) 415d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)void FakeNetworkDeviceHandler::SetCarrier( 425d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) const std::string& device_path, 435d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) const std::string& carrier, 445d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) const base::Closure& callback, 455d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) const network_handler::ErrorCallback& error_callback) {} 465d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) 475d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)void FakeNetworkDeviceHandler::RequirePin( 485d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) const std::string& device_path, 495d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) bool require_pin, 505d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) const std::string& pin, 515d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) const base::Closure& callback, 525d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) const network_handler::ErrorCallback& error_callback) {} 535d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) 545d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)void FakeNetworkDeviceHandler::EnterPin( 555d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) const std::string& device_path, 565d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) const std::string& pin, 575d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) const base::Closure& callback, 585d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) const network_handler::ErrorCallback& error_callback) {} 595d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) 605d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)void FakeNetworkDeviceHandler::UnblockPin( 615d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) const std::string& device_path, 625d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) const std::string& puk, 635d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) const std::string& new_pin, 645d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) const base::Closure& callback, 655d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) const network_handler::ErrorCallback& error_callback) {} 665d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) 675d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)void FakeNetworkDeviceHandler::ChangePin( 685d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) const std::string& device_path, 695d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) const std::string& old_pin, 705d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) const std::string& new_pin, 715d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) const base::Closure& callback, 725d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) const network_handler::ErrorCallback& error_callback) {} 735d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) 745d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)void FakeNetworkDeviceHandler::SetCellularAllowRoaming(bool allow_roaming) {} 755d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) 765d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)void FakeNetworkDeviceHandler::SetWifiTDLSEnabled( 775d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) const std::string& ip_or_mac_address, 785d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) bool enabled, 795d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) const network_handler::StringResultCallback& callback, 805d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) const network_handler::ErrorCallback& error_callback) {} 815d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) 825d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)void FakeNetworkDeviceHandler::GetWifiTDLSStatus( 835d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) const std::string& ip_or_mac_address, 845d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) const network_handler::StringResultCallback& callback, 855d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) const network_handler::ErrorCallback& error_callback) {} 865d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) 875d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)} // namespace chromeos 88