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

Side by Side Diff: net/base/wifi_access_point_info_provider_stub.cc

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 // Stub implementation for non-chromeos platforms.
6 #if !defined(OS_CHROMEOS)
7 #include "net/base/wifi_access_point_info_provider.h"
8
9 namespace net {
10
11 // Stub implementation of the WifiAccessPointInfoProvider interface.
12 class WifiAccessPointInfoProviderStub : public WifiAccessPointInfoProvider {
13 public:
14 WifiAccessPointInfoProviderStub() {}
15 virtual ~WifiAccessPointInfoProviderStub() {}
16
17 virtual bool GetInfo(net::WifiAccessPointInfo *info)
18 OVERRIDE {
stevenjb 2014/07/23 20:03:36 One line
zqiu1 2014/07/23 21:48:40 Done.
19 NOTIMPLEMENTED();
20 return false;
21 }
22 };
23
24 // static
25 scoped_ptr<WifiAccessPointInfoProvider> WifiAccessPointInfoProvider::Create() {
26 return scoped_ptr<WifiAccessPointInfoProvider>(
27 new WifiAccessPointInfoProviderStub());
28 }
stevenjb 2014/07/23 20:03:36 So, this mechanism of using a static Create method
zqiu1 2014/07/23 21:48:40 Done.
29
30 } // namespace net
31 #endif // OS_CHROMEOS
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698