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

Side by Side Diff: components/wifi_sync/wifi_security_class.h

Issue 2130453004: [Sync] Move //sync to //components/sync. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 4 years, 4 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/wifi_sync/wifi_credential_syncable_service_unittest.cc ('k') | extensions/BUILD.gn » ('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_SYNC_WIFI_SECURITY_CLASS_H_ 5 #ifndef COMPONENTS_WIFI_SYNC_WIFI_SECURITY_CLASS_H_
6 #define COMPONENTS_WIFI_SYNC_WIFI_SECURITY_CLASS_H_ 6 #define COMPONENTS_WIFI_SYNC_WIFI_SECURITY_CLASS_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "build/build_config.h" 10 #include "build/build_config.h"
11 #include "sync/protocol/sync.pb.h" 11 #include "components/sync/protocol/sync.pb.h"
12 12
13 namespace wifi_sync { 13 namespace wifi_sync {
14 14
15 enum WifiSecurityClass { 15 enum WifiSecurityClass {
16 SECURITY_CLASS_INVALID, 16 SECURITY_CLASS_INVALID,
17 SECURITY_CLASS_NONE, 17 SECURITY_CLASS_NONE,
18 SECURITY_CLASS_WEP, 18 SECURITY_CLASS_WEP,
19 SECURITY_CLASS_PSK, // WPA-PSK or RSN-PSK 19 SECURITY_CLASS_PSK, // WPA-PSK or RSN-PSK
20 SECURITY_CLASS_802_1X, // WPA-Enterprise or RSN-Enterprise 20 SECURITY_CLASS_802_1X, // WPA-Enterprise or RSN-Enterprise
21 }; 21 };
(...skipping 28 matching lines...) Expand all
50 // connection manager ("Shill") to a WifiSecurityClass enum. Returns 50 // connection manager ("Shill") to a WifiSecurityClass enum. Returns
51 // the appropriate enum value. If |shill_security| is unrecognized, 51 // the appropriate enum value. If |shill_security| is unrecognized,
52 // returns SECURITY_CLASS_INVALID. 52 // returns SECURITY_CLASS_INVALID.
53 WifiSecurityClass WifiSecurityClassFromShillSecurity( 53 WifiSecurityClass WifiSecurityClassFromShillSecurity(
54 const std::string& shill_security); 54 const std::string& shill_security);
55 #endif // OS_CHROMEOS 55 #endif // OS_CHROMEOS
56 56
57 } // namespace wifi_sync 57 } // namespace wifi_sync
58 58
59 #endif // COMPONENTS_WIFI_SYNC_WIFI_SECURITY_CLASS_H_ 59 #endif // COMPONENTS_WIFI_SYNC_WIFI_SECURITY_CLASS_H_
OLDNEW
« no previous file with comments | « components/wifi_sync/wifi_credential_syncable_service_unittest.cc ('k') | extensions/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698