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

Unified Diff: chrome/browser/chromeos/network_settings/onc_merger.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_merger.h
diff --git a/chrome/browser/chromeos/network_settings/onc_merger.h b/chrome/browser/chromeos/network_settings/onc_merger.h
deleted file mode 100644
index dd32ed2be14f8a6b80f5090fc09ef8a92ae95c8f..0000000000000000000000000000000000000000
--- a/chrome/browser/chromeos/network_settings/onc_merger.h
+++ /dev/null
@@ -1,35 +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_MERGER_H_
-#define CHROME_BROWSER_CHROMEOS_NETWORK_SETTINGS_ONC_MERGER_H_
-
-#include "base/memory/scoped_ptr.h"
-
-namespace base {
-class DictionaryValue;
-}
-
-namespace chromeos {
-namespace onc {
-
-// Merges the given |user_onc| and |shared_onc| settings with the given
-// |user_policy| and |device_policy| settings. Each can be omitted by prodiving
-// a NULL pointer. Each dictionary has to be a valid ONC dictionary. They don't
-// have to describe top-level ONC but should refer to the same section in
-// ONC. |user_onc| and |shared_onc| should not contain kRecommended fields. The
-// resulting dictionary is valid ONC but may contain dispensable fields (e.g. in
-// a network with type: "WiFi", the field "VPN" is dispensable) that can be
-// removed by the caller using the ONC normalizer. ONC conformance of the
-// arguments is not checked. Use ONC validator for that.
-scoped_ptr<base::DictionaryValue> MergeSettingsWithPolicies(
- const base::DictionaryValue* user_policy,
- const base::DictionaryValue* device_policy,
- const base::DictionaryValue* user_onc,
- const base::DictionaryValue* shared_onc);
-
-} // namespace onc
-} // namespace chromeos
-
-#endif // CHROME_BROWSER_CHROMEOS_NETWORK_SETTINGS_ONC_MERGER_H_
« no previous file with comments | « chrome/browser/chromeos/network_settings/onc_mapper.cc ('k') | chrome/browser/chromeos/network_settings/onc_merger.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698