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

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

Issue 8819011: Revert 113120 - this CL broke then chromeos clang bot: (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | chrome/browser/chromeos/cros/native_network_parser.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 (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 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 10
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after
141 141
142 class NativeVirtualNetworkParser : public NativeNetworkParser { 142 class NativeVirtualNetworkParser : public NativeNetworkParser {
143 public: 143 public:
144 NativeVirtualNetworkParser(); 144 NativeVirtualNetworkParser();
145 virtual ~NativeVirtualNetworkParser(); 145 virtual ~NativeVirtualNetworkParser();
146 virtual bool ParseValue(PropertyIndex index, 146 virtual bool ParseValue(PropertyIndex index,
147 const base::Value& value, 147 const base::Value& value,
148 Network* network) OVERRIDE; 148 Network* network) OVERRIDE;
149 virtual bool UpdateNetworkFromInfo(const base::DictionaryValue& info, 149 virtual bool UpdateNetworkFromInfo(const base::DictionaryValue& info,
150 Network* network) OVERRIDE; 150 Network* network) OVERRIDE;
151 static const EnumMapper<ProviderType>* provider_type_mapper();
152 protected: 151 protected:
153 bool ParseProviderValue(PropertyIndex index, 152 bool ParseProviderValue(PropertyIndex index,
154 const base::Value& value, 153 const base::Value& value,
155 VirtualNetwork* network); 154 VirtualNetwork* network);
156 ProviderType ParseProviderType(const std::string& type); 155 ProviderType ParseProviderType(const std::string& type);
157 private: 156 private:
158 DISALLOW_COPY_AND_ASSIGN(NativeVirtualNetworkParser); 157 DISALLOW_COPY_AND_ASSIGN(NativeVirtualNetworkParser);
159 }; 158 };
160 159
161 160
162 } // namespace chromeos 161 } // namespace chromeos
163 162
164 #endif // CHROME_BROWSER_CHROMEOS_CROS_NATIVE_NETWORK_PARSER_H_ 163 #endif // CHROME_BROWSER_CHROMEOS_CROS_NATIVE_NETWORK_PARSER_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/chromeos/cros/native_network_parser.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698