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

Side by Side Diff: chrome/browser/chromeos/cros/native_network_parser.h

Issue 10915106: Renaming instances of "flimflam" with "shill", now that we're only (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Upload after merge Created 8 years, 3 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 CHROME_BROWSER_CHROMEOS_CROS_NATIVE_NETWORK_PARSER_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_CROS_NATIVE_NETWORK_PARSER_H_
6 #define CHROME_BROWSER_CHROMEOS_CROS_NATIVE_NETWORK_PARSER_H_ 6 #define CHROME_BROWSER_CHROMEOS_CROS_NATIVE_NETWORK_PARSER_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "chrome/browser/chromeos/cros/network_parser.h" 10 #include "chrome/browser/chromeos/cros/network_parser.h"
11 #include "base/compiler_specific.h" // for OVERRIDE 11 #include "base/compiler_specific.h" // for OVERRIDE
12 12
13 namespace base { 13 namespace base {
14 class DictionaryValue; 14 class DictionaryValue;
15 class ListValue; 15 class ListValue;
16 class Value; 16 class Value;
17 } 17 }
18 18
19 namespace chromeos { 19 namespace chromeos {
20 20
21 // This is the network device parser that parses the data from the 21 // This is the network device parser that parses the data from the
22 // network stack on the native platform. Currently it parses 22 // network stack on the native platform. Currently it parses
23 // FlimFlam-provided information. 23 // Shill-provided information.
24 class NativeNetworkDeviceParser : public NetworkDeviceParser { 24 class NativeNetworkDeviceParser : public NetworkDeviceParser {
25 public: 25 public:
26 NativeNetworkDeviceParser(); 26 NativeNetworkDeviceParser();
27 virtual ~NativeNetworkDeviceParser(); 27 virtual ~NativeNetworkDeviceParser();
28 28
29 protected: 29 protected:
30 virtual NetworkDevice* CreateNewNetworkDevice( 30 virtual NetworkDevice* CreateNewNetworkDevice(
31 const std::string& device_path) OVERRIDE; 31 const std::string& device_path) OVERRIDE;
32 virtual bool ParseValue(PropertyIndex index, 32 virtual bool ParseValue(PropertyIndex index,
33 const base::Value& value, 33 const base::Value& value,
(...skipping 13 matching lines...) Expand all
47 bool* out_enabled); 47 bool* out_enabled);
48 virtual TechnologyFamily ParseTechnologyFamily( 48 virtual TechnologyFamily ParseTechnologyFamily(
49 const std::string& technology_family); 49 const std::string& technology_family);
50 50
51 private: 51 private:
52 DISALLOW_COPY_AND_ASSIGN(NativeNetworkDeviceParser); 52 DISALLOW_COPY_AND_ASSIGN(NativeNetworkDeviceParser);
53 }; 53 };
54 54
55 // This is the network parser that parses the data from the network 55 // This is the network parser that parses the data from the network
56 // stack on the native platform. Currently it parses 56 // stack on the native platform. Currently it parses
57 // FlimFlam-provided information. 57 // Shill-provided information.
58 class NativeNetworkParser : public NetworkParser { 58 class NativeNetworkParser : public NetworkParser {
59 public: 59 public:
60 NativeNetworkParser(); 60 NativeNetworkParser();
61 virtual ~NativeNetworkParser(); 61 virtual ~NativeNetworkParser();
62 static const EnumMapper<PropertyIndex>* property_mapper(); 62 static const EnumMapper<PropertyIndex>* property_mapper();
63 static const EnumMapper<ConnectionType>* network_type_mapper(); 63 static const EnumMapper<ConnectionType>* network_type_mapper();
64 static const EnumMapper<ConnectionSecurity>* network_security_mapper(); 64 static const EnumMapper<ConnectionSecurity>* network_security_mapper();
65 static const EnumMapper<EAPMethod>* network_eap_method_mapper(); 65 static const EnumMapper<EAPMethod>* network_eap_method_mapper();
66 static const EnumMapper<EAPPhase2Auth>* network_eap_auth_mapper(); 66 static const EnumMapper<EAPPhase2Auth>* network_eap_auth_mapper();
67 static const ConnectionType ParseConnectionType(const std::string& type); 67 static const ConnectionType ParseConnectionType(const std::string& type);
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
166 VirtualNetwork* network); 166 VirtualNetwork* network);
167 ProviderType ParseProviderType(const std::string& type); 167 ProviderType ParseProviderType(const std::string& type);
168 private: 168 private:
169 DISALLOW_COPY_AND_ASSIGN(NativeVirtualNetworkParser); 169 DISALLOW_COPY_AND_ASSIGN(NativeVirtualNetworkParser);
170 }; 170 };
171 171
172 172
173 } // namespace chromeos 173 } // namespace chromeos
174 174
175 #endif // CHROME_BROWSER_CHROMEOS_CROS_NATIVE_NETWORK_PARSER_H_ 175 #endif // CHROME_BROWSER_CHROMEOS_CROS_NATIVE_NETWORK_PARSER_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/cros/native_network_constants.cc ('k') | chrome/browser/chromeos/cros/native_network_parser.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698