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

Side by Side Diff: net/base/wifi_access_point_info_provider.h

Issue 328793002: Add wifi AP info to system profile metrics (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Using new interface to provide wifi access point information. Created 6 years, 5 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
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef NET_BASE_WIFI_ACCESS_POINT_INFO_PROVIDER_H_
6 #define NET_BASE_WIFI_ACCESS_POINT_INFO_PROVIDER_H_
7
8 #include "net/base/net_export.h"
9 #include "net/base/net_util.h"
10
11 namespace net {
12
13 // Interface for accessing connected wireless access point information.
14 class NET_EXPORT WifiAccessPointInfoProvider {
15 public:
16 WifiAccessPointInfoProvider() {}
17 virtual ~WifiAccessPointInfoProvider() {}
stevenjb 2014/07/23 20:03:36 nit: WS
zqiu1 2014/07/23 21:48:40 Done.
18 // Fill in the wifi access point info if device is currently connected to a
19 // wifi access point. Return true if device is connected to a wifi access
20 // point, false otherwise.
21 virtual bool GetInfo(net::WifiAccessPointInfo *info) = 0;
22
23 static scoped_ptr<WifiAccessPointInfoProvider> Create();
24
25 private:
26 DISALLOW_COPY_AND_ASSIGN(WifiAccessPointInfoProvider);
27 };
28
29 } // namespace net
30
31 #endif // NET_BASE_WIFI_ACCESS_POINT_INFO_PROVIDER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698