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

Side by Side Diff: chromeos/network/onc/onc_translation_tables.h

Issue 11299236: This moves the ONC parsing code into chromeos/network/onc (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix unit tests Created 8 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 | « chromeos/network/onc/onc_test_utils.cc ('k') | chromeos/network/onc/onc_translation_tables.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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_NETWORK_SETTINGS_ONC_TRANSLATION_TABLES_H_ 5 #ifndef CHROMEOS_NETWORK_ONC_ONC_TRANSLATION_TABLES_H_
6 #define CHROME_BROWSER_CHROMEOS_NETWORK_SETTINGS_ONC_TRANSLATION_TABLES_H_ 6 #define CHROMEOS_NETWORK_ONC_ONC_TRANSLATION_TABLES_H_
7 7
8 namespace chromeos { 8 namespace chromeos {
9 namespace onc { 9 namespace onc {
10 10
11 struct StringTranslationEntry { 11 struct StringTranslationEntry {
12 const char* onc_value; 12 const char* onc_value;
13 const char* shill_value; 13 const char* shill_value;
14 }; 14 };
15 15
16 // These tables contain the mapping from ONC strings to Shill strings. 16 // These tables contain the mapping from ONC strings to Shill strings.
17 // These are NULL-terminated arrays. 17 // These are NULL-terminated arrays.
18 extern const StringTranslationEntry kNetworkTypeTable[]; 18 extern const StringTranslationEntry kNetworkTypeTable[];
19 extern const StringTranslationEntry kVPNTypeTable[]; 19 extern const StringTranslationEntry kVPNTypeTable[];
20 20
21 } // namespace onc 21 } // namespace onc
22 } // namespace chromeos 22 } // namespace chromeos
23 23
24 #endif // CHROME_BROWSER_CHROMEOS_NETWORK_SETTINGS_ONC_TRANSLATION_TABLES_H_ 24 #endif // CHROMEOS_NETWORK_ONC_ONC_TRANSLATION_TABLES_H_
OLDNEW
« no previous file with comments | « chromeos/network/onc/onc_test_utils.cc ('k') | chromeos/network/onc/onc_translation_tables.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698