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

Side by Side Diff: chromeos/network/fake_network_device_handler.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/shill_manager_client.cc ('k') | chromeos/network/fake_network_device_handler.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_NETWORK_FAKE_NETWORK_DEVICE_HANDLER_H_ 5 #ifndef CHROMEOS_NETWORK_FAKE_NETWORK_DEVICE_HANDLER_H_
6 #define CHROMEOS_NETWORK_FAKE_NETWORK_DEVICE_HANDLER_H_ 6 #define CHROMEOS_NETWORK_FAKE_NETWORK_DEVICE_HANDLER_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "chromeos/chromeos_export.h" 10 #include "chromeos/chromeos_export.h"
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 const std::string& ip_or_mac_address, 87 const std::string& ip_or_mac_address,
88 bool enabled, 88 bool enabled,
89 const network_handler::StringResultCallback& callback, 89 const network_handler::StringResultCallback& callback,
90 const network_handler::ErrorCallback& error_callback) override; 90 const network_handler::ErrorCallback& error_callback) override;
91 91
92 virtual void GetWifiTDLSStatus( 92 virtual void GetWifiTDLSStatus(
93 const std::string& ip_or_mac_address, 93 const std::string& ip_or_mac_address,
94 const network_handler::StringResultCallback& callback, 94 const network_handler::StringResultCallback& callback,
95 const network_handler::ErrorCallback& error_callback) override; 95 const network_handler::ErrorCallback& error_callback) override;
96 96
97 void AddWifiWakeOnPacketConnection(
98 const net::IPEndPoint& ip_endpoint,
99 const base::Closure& callback,
100 const network_handler::ErrorCallback& error_callback) override;
101
102 void RemoveWifiWakeOnPacketConnection(
103 const net::IPEndPoint& ip_endpoint,
104 const base::Closure& callback,
105 const network_handler::ErrorCallback& error_callback) override;
106
107 void RemoveAllWifiWakeOnPacketConnections(
108 const base::Closure& callback,
109 const network_handler::ErrorCallback& error_callback) override;
110
97 private: 111 private:
98 DISALLOW_COPY_AND_ASSIGN(FakeNetworkDeviceHandler); 112 DISALLOW_COPY_AND_ASSIGN(FakeNetworkDeviceHandler);
99 }; 113 };
100 114
101 } // namespace chromeos 115 } // namespace chromeos
102 116
103 #endif // CHROMEOS_NETWORK_FAKE_NETWORK_DEVICE_HANDLER_H_ 117 #endif // CHROMEOS_NETWORK_FAKE_NETWORK_DEVICE_HANDLER_H_
OLDNEW
« no previous file with comments | « chromeos/dbus/shill_manager_client.cc ('k') | chromeos/network/fake_network_device_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698