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

Unified Diff: chrome/browser/chromeos/network_settings/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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/chromeos/network_settings/onc_translation_tables.h
diff --git a/chrome/browser/chromeos/network_settings/onc_translation_tables.h b/chrome/browser/chromeos/network_settings/onc_translation_tables.h
deleted file mode 100644
index 66594d847abded094dfb1328f1bbf1a53d3dc004..0000000000000000000000000000000000000000
--- a/chrome/browser/chromeos/network_settings/onc_translation_tables.h
+++ /dev/null
@@ -1,24 +0,0 @@
-// Copyright (c) 2012 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef CHROME_BROWSER_CHROMEOS_NETWORK_SETTINGS_ONC_TRANSLATION_TABLES_H_
-#define CHROME_BROWSER_CHROMEOS_NETWORK_SETTINGS_ONC_TRANSLATION_TABLES_H_
-
-namespace chromeos {
-namespace onc {
-
-struct StringTranslationEntry {
- const char* onc_value;
- const char* shill_value;
-};
-
-// These tables contain the mapping from ONC strings to Shill strings.
-// These are NULL-terminated arrays.
-extern const StringTranslationEntry kNetworkTypeTable[];
-extern const StringTranslationEntry kVPNTypeTable[];
-
-} // namespace onc
-} // namespace chromeos
-
-#endif // CHROME_BROWSER_CHROMEOS_NETWORK_SETTINGS_ONC_TRANSLATION_TABLES_H_

Powered by Google App Engine
This is Rietveld 408576698