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

Side by Side Diff: device/geolocation/wifi_data_provider_win.h

Issue 2833273002: Geolocation cleanup: use unique_ptr<>s and rename New{WlanApi/PollingPolicy} to CreateBla() (Closed)
Patch Set: reillyg@s nits Created 3 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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 DEVICE_GEOLOCATION_WIFI_DATA_PROVIDER_WIN_H_ 5 #ifndef DEVICE_GEOLOCATION_WIFI_DATA_PROVIDER_WIN_H_
6 #define DEVICE_GEOLOCATION_WIFI_DATA_PROVIDER_WIN_H_ 6 #define DEVICE_GEOLOCATION_WIFI_DATA_PROVIDER_WIN_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "device/geolocation/geolocation_export.h" 9 #include "device/geolocation/geolocation_export.h"
10 #include "device/geolocation/wifi_data_provider_common.h" 10 #include "device/geolocation/wifi_data_provider_common.h"
11 11
12 namespace device { 12 namespace device {
13 13
14 class DEVICE_GEOLOCATION_EXPORT WifiDataProviderWin 14 class DEVICE_GEOLOCATION_EXPORT WifiDataProviderWin
15 : public WifiDataProviderCommon { 15 : public WifiDataProviderCommon {
16 public: 16 public:
17 WifiDataProviderWin(); 17 WifiDataProviderWin();
18 18
19 private: 19 private:
20 ~WifiDataProviderWin() override; 20 ~WifiDataProviderWin() override;
21 21
22 // WifiDataProviderCommon 22 // WifiDataProviderCommon implementation
23 WlanApiInterface* NewWlanApi() override; 23 std::unique_ptr<WlanApiInterface> CreateWlanApi() override;
24 WifiPollingPolicy* NewPollingPolicy() override; 24 std::unique_ptr<WifiPollingPolicy> CreatePollingPolicy() override;
25 25
26 DISALLOW_COPY_AND_ASSIGN(WifiDataProviderWin); 26 DISALLOW_COPY_AND_ASSIGN(WifiDataProviderWin);
27 }; 27 };
28 28
29 } // namespace device 29 } // namespace device
30 30
31 #endif // DEVICE_GEOLOCATION_WIFI_DATA_PROVIDER_WIN_H_ 31 #endif // DEVICE_GEOLOCATION_WIFI_DATA_PROVIDER_WIN_H_
OLDNEW
« no previous file with comments | « device/geolocation/wifi_data_provider_mac.mm ('k') | device/geolocation/wifi_data_provider_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698