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

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

Issue 722043004: Clean up wake on wifi handling (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address comments Created 6 years, 1 month 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
« no previous file with comments | « chromeos/dbus/fake_shill_device_client.cc ('k') | chromeos/dbus/fake_shill_manager_client.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 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_MANAGER_CLIENT_H_ 5 #ifndef CHROMEOS_DBUS_FAKE_SHILL_MANAGER_CLIENT_H_
6 #define CHROMEOS_DBUS_FAKE_SHILL_MANAGER_CLIENT_H_ 6 #define CHROMEOS_DBUS_FAKE_SHILL_MANAGER_CLIENT_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
74 const StringCallback& callback, 74 const StringCallback& callback,
75 const ErrorCallback& error_callback) override; 75 const ErrorCallback& error_callback) override;
76 virtual void VerifyAndEncryptData( 76 virtual void VerifyAndEncryptData(
77 const VerificationProperties& properties, 77 const VerificationProperties& properties,
78 const std::string& data, 78 const std::string& data,
79 const StringCallback& callback, 79 const StringCallback& callback,
80 const ErrorCallback& error_callback) override; 80 const ErrorCallback& error_callback) override;
81 virtual void ConnectToBestServices( 81 virtual void ConnectToBestServices(
82 const base::Closure& callback, 82 const base::Closure& callback,
83 const ErrorCallback& error_callback) override; 83 const ErrorCallback& error_callback) override;
84 virtual void AddWakeOnPacketConnection(
85 const net::IPEndPoint& ip_connection,
86 const base::Closure& callback,
87 const ErrorCallback& error_callback) override;
88 virtual void RemoveWakeOnPacketConnection(
89 const net::IPEndPoint& ip_endpoint,
90 const base::Closure& callback,
91 const ErrorCallback& error_callback) override;
92 virtual void RemoveAllWakeOnPacketConnections(
93 const base::Closure& callback,
94 const ErrorCallback& error_callback) override;
95 84
96 virtual ShillManagerClient::TestInterface* GetTestInterface() override; 85 virtual ShillManagerClient::TestInterface* GetTestInterface() override;
97 86
98 // ShillManagerClient::TestInterface overrides. 87 // ShillManagerClient::TestInterface overrides.
99 virtual void AddDevice(const std::string& device_path) override; 88 virtual void AddDevice(const std::string& device_path) override;
100 virtual void RemoveDevice(const std::string& device_path) override; 89 virtual void RemoveDevice(const std::string& device_path) override;
101 virtual void ClearDevices() override; 90 virtual void ClearDevices() override;
102 virtual void AddTechnology(const std::string& type, bool enabled) override; 91 virtual void AddTechnology(const std::string& type, bool enabled) override;
103 virtual void RemoveTechnology(const std::string& type) override; 92 virtual void RemoveTechnology(const std::string& type) override;
104 virtual void SetTechnologyInitializing(const std::string& type, 93 virtual void SetTechnologyInitializing(const std::string& type,
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
175 164
176 // 'Best' service to connect to on ConnectToBestServices() calls. 165 // 'Best' service to connect to on ConnectToBestServices() calls.
177 std::string best_service_; 166 std::string best_service_;
178 167
179 DISALLOW_COPY_AND_ASSIGN(FakeShillManagerClient); 168 DISALLOW_COPY_AND_ASSIGN(FakeShillManagerClient);
180 }; 169 };
181 170
182 } // namespace chromeos 171 } // namespace chromeos
183 172
184 #endif // CHROMEOS_DBUS_FAKE_SHILL_MANAGER_CLIENT_H_ 173 #endif // CHROMEOS_DBUS_FAKE_SHILL_MANAGER_CLIENT_H_
OLDNEW
« no previous file with comments | « chromeos/dbus/fake_shill_device_client.cc ('k') | chromeos/dbus/fake_shill_manager_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698