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

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

Issue 1869063004: components: Add out-of-line copy ctors for complex classes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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 COMPONENTS_WIFI_NETWORK_PROPERTIES_H_ 5 #ifndef COMPONENTS_WIFI_NETWORK_PROPERTIES_H_
6 #define COMPONENTS_WIFI_NETWORK_PROPERTIES_H_ 6 #define COMPONENTS_WIFI_NETWORK_PROPERTIES_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <list> 10 #include <list>
(...skipping 14 matching lines...) Expand all
25 kFrequency2400 = 2400, 25 kFrequency2400 = 2400,
26 kFrequency5000 = 5000 26 kFrequency5000 = 5000
27 }; 27 };
28 28
29 typedef std::set<Frequency> FrequencySet; 29 typedef std::set<Frequency> FrequencySet;
30 30
31 // Network Properties, can be used to parse the result of |GetProperties| and 31 // Network Properties, can be used to parse the result of |GetProperties| and
32 // |GetVisibleNetworks|. 32 // |GetVisibleNetworks|.
33 struct WIFI_EXPORT NetworkProperties { 33 struct WIFI_EXPORT NetworkProperties {
34 NetworkProperties(); 34 NetworkProperties();
35 NetworkProperties(const NetworkProperties& other);
35 ~NetworkProperties(); 36 ~NetworkProperties();
36 37
37 std::string connection_state; 38 std::string connection_state;
38 std::string guid; 39 std::string guid;
39 std::string name; 40 std::string name;
40 std::string ssid; 41 std::string ssid;
41 std::string bssid; 42 std::string bssid;
42 std::string type; 43 std::string type;
43 std::string security; 44 std::string security;
44 // |password| field is used to pass wifi password for network creation via 45 // |password| field is used to pass wifi password for network creation via
(...skipping 12 matching lines...) Expand all
57 static std::string MacAddressAsString(const uint8_t mac_as_int[6]); 58 static std::string MacAddressAsString(const uint8_t mac_as_int[6]);
58 static bool OrderByType(const NetworkProperties& l, 59 static bool OrderByType(const NetworkProperties& l,
59 const NetworkProperties& r); 60 const NetworkProperties& r);
60 }; 61 };
61 62
62 typedef std::list<NetworkProperties> NetworkList; 63 typedef std::list<NetworkProperties> NetworkList;
63 64
64 } // namespace wifi 65 } // namespace wifi
65 66
66 #endif // COMPONENTS_WIFI_NETWORK_PROPERTIES_H_ 67 #endif // COMPONENTS_WIFI_NETWORK_PROPERTIES_H_
OLDNEW
« no previous file with comments | « components/safe_browsing_db/v4_protocol_manager_util.cc ('k') | components/wifi/network_properties.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698