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

Unified Diff: chromeos/network/onc/onc_validator.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
« no previous file with comments | « chromeos/network/onc/onc_utils_unittest.cc ('k') | chromeos/network/onc/onc_validator.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromeos/network/onc/onc_validator.h
diff --git a/chrome/browser/chromeos/network_settings/onc_validator.h b/chromeos/network/onc/onc_validator.h
similarity index 94%
rename from chrome/browser/chromeos/network_settings/onc_validator.h
rename to chromeos/network/onc/onc_validator.h
index cee5d07e4a242356c681ab19e96253e27375dc90..4a742720752c9efa5c45d2041a48a3a49cbbe562 100644
--- a/chrome/browser/chromeos/network_settings/onc_validator.h
+++ b/chromeos/network/onc/onc_validator.h
@@ -2,11 +2,12 @@
// 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_VALIDATOR_H_
-#define CHROME_BROWSER_CHROMEOS_NETWORK_SETTINGS_ONC_VALIDATOR_H_
+#ifndef CHROMEOS_NETWORK_ONC_ONC_VALIDATOR_H_
+#define CHROMEOS_NETWORK_ONC_ONC_VALIDATOR_H_
#include "base/memory/scoped_ptr.h"
-#include "chrome/browser/chromeos/network_settings/onc_mapper.h"
+#include "chromeos/chromeos_export.h"
+#include "chromeos/network/onc/onc_mapper.h"
namespace base {
class Value;
@@ -18,7 +19,7 @@ namespace onc {
struct OncValueSignature;
-class Validator : public Mapper {
+class CHROMEOS_EXPORT Validator : public Mapper {
public:
// Creates a Validator that searches for the following invalid cases:
// - a field name is found that is not part of the signature
@@ -149,4 +150,4 @@ class Validator : public Mapper {
} // namespace onc
} // namespace chromeos
-#endif // CHROME_BROWSER_CHROMEOS_NETWORK_SETTINGS_ONC_VALIDATOR_H_
+#endif // CHROMEOS_NETWORK_ONC_ONC_VALIDATOR_H_
« no previous file with comments | « chromeos/network/onc/onc_utils_unittest.cc ('k') | chromeos/network/onc/onc_validator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698