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

Side by Side Diff: chromeos/dbus/fake_shill_device_client.h

Issue 156353002: Implement networkingPrivate.setWifiTDLSEnabledState (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 6 years, 10 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
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 #ifndef CHROMEOS_DBUS_FAKE_SHILL_DEVICE_CLIENT_H_ 5 #ifndef CHROMEOS_DBUS_FAKE_SHILL_DEVICE_CLIENT_H_
6 #define CHROMEOS_DBUS_FAKE_SHILL_DEVICE_CLIENT_H_ 6 #define CHROMEOS_DBUS_FAKE_SHILL_DEVICE_CLIENT_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 const std::string& network_id, 69 const std::string& network_id,
70 const base::Closure& callback, 70 const base::Closure& callback,
71 const ErrorCallback& error_callback) OVERRIDE; 71 const ErrorCallback& error_callback) OVERRIDE;
72 virtual void SetCarrier(const dbus::ObjectPath& device_path, 72 virtual void SetCarrier(const dbus::ObjectPath& device_path,
73 const std::string& carrier, 73 const std::string& carrier,
74 const base::Closure& callback, 74 const base::Closure& callback,
75 const ErrorCallback& error_callback) OVERRIDE; 75 const ErrorCallback& error_callback) OVERRIDE;
76 virtual void Reset(const dbus::ObjectPath& device_path, 76 virtual void Reset(const dbus::ObjectPath& device_path,
77 const base::Closure& callback, 77 const base::Closure& callback,
78 const ErrorCallback& error_callback) OVERRIDE; 78 const ErrorCallback& error_callback) OVERRIDE;
79 virtual void PerformTDLSOperation(
80 const dbus::ObjectPath& device_path,
81 const std::string& operation,
82 const std::string& peer,
83 const StringCallback& callback,
84 const ErrorCallback& error_callback) OVERRIDE;
85
79 virtual ShillDeviceClient::TestInterface* GetTestInterface() OVERRIDE; 86 virtual ShillDeviceClient::TestInterface* GetTestInterface() OVERRIDE;
80 87
81 // ShillDeviceClient::TestInterface overrides. 88 // ShillDeviceClient::TestInterface overrides.
82 virtual void AddDevice(const std::string& device_path, 89 virtual void AddDevice(const std::string& device_path,
83 const std::string& type, 90 const std::string& type,
84 const std::string& object_path) OVERRIDE; 91 const std::string& object_path) OVERRIDE;
85 virtual void RemoveDevice(const std::string& device_path) OVERRIDE; 92 virtual void RemoveDevice(const std::string& device_path) OVERRIDE;
86 virtual void ClearDevices() OVERRIDE; 93 virtual void ClearDevices() OVERRIDE;
87 virtual void SetDeviceProperty(const std::string& device_path, 94 virtual void SetDeviceProperty(const std::string& device_path,
88 const std::string& name, 95 const std::string& name,
(...skipping 24 matching lines...) Expand all
113 // Note: This should remain the last member so it'll be destroyed and 120 // Note: This should remain the last member so it'll be destroyed and
114 // invalidate its weak pointers before any other members are destroyed. 121 // invalidate its weak pointers before any other members are destroyed.
115 base::WeakPtrFactory<FakeShillDeviceClient> weak_ptr_factory_; 122 base::WeakPtrFactory<FakeShillDeviceClient> weak_ptr_factory_;
116 123
117 DISALLOW_COPY_AND_ASSIGN(FakeShillDeviceClient); 124 DISALLOW_COPY_AND_ASSIGN(FakeShillDeviceClient);
118 }; 125 };
119 126
120 } // namespace chromeos 127 } // namespace chromeos
121 128
122 #endif // CHROMEOS_DBUS_FAKE_SHILL_DEVICE_CLIENT_H_ 129 #endif // CHROMEOS_DBUS_FAKE_SHILL_DEVICE_CLIENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698