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

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

Issue 675993005: components: add wifi_sync component (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@local-master
Patch Set: fix style issues, and unnecessary virtual functions Created 6 years, 1 month 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 #ifndef COMPONENTS_WIFI_SYNC_WIFI_SECURITY_CLASS_H_
6 #define COMPONENTS_WIFI_SYNC_WIFI_SECURITY_CLASS_H_
7
8 #include <string>
9
10 namespace wifi_sync {
11
12 enum WifiSecurityClass {
13 SECURITY_CLASS_INVALID,
14 SECURITY_CLASS_NONE,
15 SECURITY_CLASS_WEP,
16 SECURITY_CLASS_PSK, // WPA-PSK or RSN-PSK
17 SECURITY_CLASS_802_1X, // WPA-Enterprise or RSN-Enterprise
18 };
19
20 #if defined(OS_CHROMEOS)
21 WifiSecurityClass WifiSecurityClassFromShillString(
erikwright (departed) 2014/10/29 18:18:25 comments for these methods
mukesh agrawal 2014/10/30 18:41:29 Done.
22 const std::string& security_class_in);
23
24 bool WifiSecurityClassToShillString(WifiSecurityClass security_class_in,
25 std::string* security_class_out);
26 #endif // OS_CHROMEOS
27
28 } // namespace wifi_sync
29
30 #endif // COMPONENTS_WIFI_SYNC_WIFI_SECURITY_CLASS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698