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

Unified Diff: chrome/browser/chromeos/network_settings/onc_merger.h

Issue 10944009: Implementation of ONC signature, validator and normalizer. (Closed) Base URL: http://git.chromium.org/chromium/src.git@gperffix
Patch Set: Created 8 years, 3 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/chromeos/network_settings/onc_merger.h
diff --git a/chrome/browser/chromeos/network_settings/onc_merger.h b/chrome/browser/chromeos/network_settings/onc_merger.h
new file mode 100644
index 0000000000000000000000000000000000000000..84455382e17f032d3b9595bac1c4c3a1e13bbe6d
--- /dev/null
+++ b/chrome/browser/chromeos/network_settings/onc_merger.h
@@ -0,0 +1,28 @@
+// 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_MERGER_H_
+#define CHROME_BROWSER_CHROMEOS_NETWORK_SETTINGS_ONC_MERGER_H_
+
+#include <string>
Mattias Nissler (ping if slow) 2012/09/18 16:29:08 newline
pneubeck (no reviews) 2012/10/02 15:03:02 Done.
+#include "base/callback.h"
+
+namespace base {
+class DictionaryValue;
+} // namespace base
Mattias Nissler (ping if slow) 2012/09/18 16:29:08 namespace comment not necessary here per conventio
pneubeck (no reviews) 2012/10/02 15:03:02 Done.
+
+namespace chromeos {
+namespace onc {
+
+class ONCMerger {
Mattias Nissler (ping if slow) 2012/09/18 16:29:08 if you don't intend on adding state, this should b
pneubeck (no reviews) 2012/10/02 15:03:02 Done.
+ public:
+ static base::DictionaryValue* MergeUserSettingsWithPolicy(
Mattias Nissler (ping if slow) 2012/09/18 16:29:08 could use a description comment
pneubeck (no reviews) 2012/10/02 15:03:02 Done.
+ const base::DictionaryValue& user,
+ const base::DictionaryValue& policy);
+};
+
+} // namespace onc
+} // namespace chromeos
+
+#endif // CHROME_BROWSER_CHROMEOS_NETWORK_SETTINGS_ONC_MERGER_H_

Powered by Google App Engine
This is Rietveld 408576698