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

Unified Diff: chrome/browser/chromeos/network_settings/onc_translation_tables.cc

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.cc
diff --git a/chrome/browser/chromeos/network_settings/onc_translation_tables.cc b/chrome/browser/chromeos/network_settings/onc_translation_tables.cc
deleted file mode 100644
index 59633c439e25e2d8778590489fe2f3d219cac8ba..0000000000000000000000000000000000000000
--- a/chrome/browser/chromeos/network_settings/onc_translation_tables.cc
+++ /dev/null
@@ -1,30 +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.
-
-#include "chrome/browser/chromeos/network_settings/onc_translation_tables.h"
-
-#include <cstddef>
-
-#include "chrome/browser/chromeos/cros/onc_constants.h"
-#include "third_party/cros_system_api/dbus/service_constants.h"
-
-namespace chromeos {
-namespace onc {
-
-const StringTranslationEntry kNetworkTypeTable[] = {
- { kEthernet, flimflam::kTypeEthernet },
- { kWiFi, flimflam::kTypeWifi },
- { kCellular, flimflam::kTypeCellular },
- { kVPN, flimflam::kTypeVPN },
- { NULL }
-};
-
-const StringTranslationEntry kVPNTypeTable[] = {
- { vpn::kTypeL2TP_IPsec, flimflam::kProviderL2tpIpsec },
- { vpn::kOpenVPN, flimflam::kProviderOpenVpn },
- { NULL }
-};
-
-} // namespace onc
-} // namespace chromeos

Powered by Google App Engine
This is Rietveld 408576698