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

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

Issue 7618046: Fix Clang build (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove unneeded virtual Created 9 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 | Annotate | Revision Log
« no previous file with comments | « chrome/browser/chromeos/cros/network_library.h ('k') | no next file » | 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_NETWORK_PARSER_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_CROS_NETWORK_PARSER_H_
6 #define CHROME_BROWSER_CHROMEOS_CROS_NETWORK_PARSER_H_ 6 #define CHROME_BROWSER_CHROMEOS_CROS_NETWORK_PARSER_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 #include <map> 10 #include <map>
11 11
12 #include "base/scoped_ptr.h" 12 #include "base/scoped_ptr.h"
13 #include "chrome/browser/chromeos/cros/network_library.h" 13 #include "chrome/browser/chromeos/cros/network_library.h"
14 14
15 namespace base {
16 class DictionaryValue;
15 class Value; 17 class Value;
18 }
16 19
17 namespace chromeos { 20 namespace chromeos {
18 21
19 class NetworkDevice; 22 class NetworkDevice;
20 23
21 // This turns an array of string-to-enum-value mappings into a class 24 // This turns an array of string-to-enum-value mappings into a class
22 // that can cache the mapping and do quick lookups using an actual map 25 // that can cache the mapping and do quick lookups using an actual map
23 // class. Usage is something like: 26 // class. Usage is something like:
24 // 27 //
25 // const char kKey1[] = "key1"; 28 // const char kKey1[] = "key1";
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after
145 } 148 }
146 149
147 private: 150 private:
148 const EnumMapper<PropertyIndex>* mapper_; 151 const EnumMapper<PropertyIndex>* mapper_;
149 DISALLOW_COPY_AND_ASSIGN(NetworkParser); 152 DISALLOW_COPY_AND_ASSIGN(NetworkParser);
150 }; 153 };
151 154
152 } // namespace chromeos 155 } // namespace chromeos
153 156
154 #endif // CHROME_BROWSER_CHROMEOS_CROS_NETWORK_PARSER_H_ 157 #endif // CHROME_BROWSER_CHROMEOS_CROS_NETWORK_PARSER_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/cros/network_library.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698