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

Side by Side Diff: components/wifi/fake_wifi_service.h

Issue 1917673002: Convert //components/[u-z]* from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 years, 7 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
« no previous file with comments | « components/webusb/webusb_detector.cc ('k') | components/wifi/fake_wifi_service.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 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 COMPONENTS_WIFI_FAKE_WIFI_SERVICE_H_ 5 #ifndef COMPONENTS_WIFI_FAKE_WIFI_SERVICE_H_
6 #define COMPONENTS_WIFI_FAKE_WIFI_SERVICE_H_ 6 #define COMPONENTS_WIFI_FAKE_WIFI_SERVICE_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
(...skipping 16 matching lines...) Expand all
27 void GetProperties(const std::string& network_guid, 27 void GetProperties(const std::string& network_guid,
28 base::DictionaryValue* properties, 28 base::DictionaryValue* properties,
29 std::string* error) override; 29 std::string* error) override;
30 void GetManagedProperties(const std::string& network_guid, 30 void GetManagedProperties(const std::string& network_guid,
31 base::DictionaryValue* managed_properties, 31 base::DictionaryValue* managed_properties,
32 std::string* error) override; 32 std::string* error) override;
33 void GetState(const std::string& network_guid, 33 void GetState(const std::string& network_guid,
34 base::DictionaryValue* properties, 34 base::DictionaryValue* properties,
35 std::string* error) override; 35 std::string* error) override;
36 void SetProperties(const std::string& network_guid, 36 void SetProperties(const std::string& network_guid,
37 scoped_ptr<base::DictionaryValue> properties, 37 std::unique_ptr<base::DictionaryValue> properties,
38 std::string* error) override; 38 std::string* error) override;
39 void CreateNetwork(bool shared, 39 void CreateNetwork(bool shared,
40 scoped_ptr<base::DictionaryValue> properties, 40 std::unique_ptr<base::DictionaryValue> properties,
41 std::string* network_guid, 41 std::string* network_guid,
42 std::string* error) override; 42 std::string* error) override;
43 void GetVisibleNetworks(const std::string& network_type, 43 void GetVisibleNetworks(const std::string& network_type,
44 base::ListValue* network_list, 44 base::ListValue* network_list,
45 bool include_details) override; 45 bool include_details) override;
46 void RequestNetworkScan() override; 46 void RequestNetworkScan() override;
47 void StartConnect(const std::string& network_guid, 47 void StartConnect(const std::string& network_guid,
48 std::string* error) override; 48 std::string* error) override;
49 void StartDisconnect(const std::string& network_guid, 49 void StartDisconnect(const std::string& network_guid,
50 std::string* error) override; 50 std::string* error) override;
(...skipping 23 matching lines...) Expand all
74 scoped_refptr<base::SingleThreadTaskRunner> task_runner_; 74 scoped_refptr<base::SingleThreadTaskRunner> task_runner_;
75 NetworkGuidListCallback networks_changed_observer_; 75 NetworkGuidListCallback networks_changed_observer_;
76 NetworkGuidListCallback network_list_changed_observer_; 76 NetworkGuidListCallback network_list_changed_observer_;
77 77
78 DISALLOW_COPY_AND_ASSIGN(FakeWiFiService); 78 DISALLOW_COPY_AND_ASSIGN(FakeWiFiService);
79 }; 79 };
80 80
81 } // namespace wifi 81 } // namespace wifi
82 82
83 #endif // COMPONENTS_WIFI_FAKE_WIFI_SERVICE_H_ 83 #endif // COMPONENTS_WIFI_FAKE_WIFI_SERVICE_H_
OLDNEW
« no previous file with comments | « components/webusb/webusb_detector.cc ('k') | components/wifi/fake_wifi_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698