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

Side by Side Diff: extensions/browser/api/networking_private/networking_private_chromeos.h

Issue 1059033002: Implement networkingPrivate.getDeviceStates (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix test Created 5 years, 8 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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 EXTENSIONS_BROWSER_API_NETWORKING_PRIVATE_NETWORKING_PRIVATE_CHROMEOS_H_ 5 #ifndef EXTENSIONS_BROWSER_API_NETWORKING_PRIVATE_NETWORKING_PRIVATE_CHROMEOS_H_
6 #define EXTENSIONS_BROWSER_API_NETWORKING_PRIVATE_NETWORKING_PRIVATE_CHROMEOS_H_ 6 #define EXTENSIONS_BROWSER_API_NETWORKING_PRIVATE_NETWORKING_PRIVATE_CHROMEOS_H_
7 7
8 #include "extensions/browser/api/networking_private/networking_private_delegate. h" 8 #include "extensions/browser/api/networking_private/networking_private_delegate. h"
9 9
10 namespace context { 10 namespace context {
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 bool enabled, 64 bool enabled,
65 const StringCallback& success_callback, 65 const StringCallback& success_callback,
66 const FailureCallback& failure_callback) override; 66 const FailureCallback& failure_callback) override;
67 void GetWifiTDLSStatus(const std::string& ip_or_mac_address, 67 void GetWifiTDLSStatus(const std::string& ip_or_mac_address,
68 const StringCallback& success_callback, 68 const StringCallback& success_callback,
69 const FailureCallback& failure_callback) override; 69 const FailureCallback& failure_callback) override;
70 void GetCaptivePortalStatus(const std::string& guid, 70 void GetCaptivePortalStatus(const std::string& guid,
71 const StringCallback& success_callback, 71 const StringCallback& success_callback,
72 const FailureCallback& failure_callback) override; 72 const FailureCallback& failure_callback) override;
73 scoped_ptr<base::ListValue> GetEnabledNetworkTypes() override; 73 scoped_ptr<base::ListValue> GetEnabledNetworkTypes() override;
74 scoped_ptr<DeviceStateList> GetDeviceStateList() override;
74 bool EnableNetworkType(const std::string& type) override; 75 bool EnableNetworkType(const std::string& type) override;
75 bool DisableNetworkType(const std::string& type) override; 76 bool DisableNetworkType(const std::string& type) override;
76 bool RequestScan() override; 77 bool RequestScan() override;
77 78
78 private: 79 private:
79 content::BrowserContext* browser_context_; 80 content::BrowserContext* browser_context_;
80 81
81 DISALLOW_COPY_AND_ASSIGN(NetworkingPrivateChromeOS); 82 DISALLOW_COPY_AND_ASSIGN(NetworkingPrivateChromeOS);
82 }; 83 };
83 84
84 } // namespace extensions 85 } // namespace extensions
85 86
86 #endif // EXTENSIONS_BROWSER_API_NETWORKING_PRIVATE_NETWORKING_PRIVATE_CHROMEOS _H_ 87 #endif // EXTENSIONS_BROWSER_API_NETWORKING_PRIVATE_NETWORKING_PRIVATE_CHROMEOS _H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698