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

Unified Diff: chrome/browser/policy/configuration_policy_handler_chromeos.h

Issue 10823234: Fix ONC password filtering in about:policy. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix one base::Value that I had missed. Created 8 years, 4 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
« no previous file with comments | « no previous file | chrome/browser/policy/configuration_policy_handler_chromeos.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/policy/configuration_policy_handler_chromeos.h
diff --git a/chrome/browser/policy/configuration_policy_handler_chromeos.h b/chrome/browser/policy/configuration_policy_handler_chromeos.h
index ba29c907c7682c3cbe833ac60bb0e7acb129b72e..fce7d6eebe522d692f11988de8af0d93daf24648 100644
--- a/chrome/browser/policy/configuration_policy_handler_chromeos.h
+++ b/chrome/browser/policy/configuration_policy_handler_chromeos.h
@@ -8,6 +8,11 @@
#include "chrome/browser/chromeos/cros/network_ui_data.h"
#include "chrome/browser/policy/configuration_policy_handler.h"
+namespace base {
+class DictionaryValue;
+class Value;
+}
+
namespace policy {
// ConfigurationPolicyHandler for validation of the network configuration
@@ -32,11 +37,11 @@ class NetworkConfigurationPolicyHandler : public TypeCheckingPolicyHandler {
// that contains a pretty-printed and sanitized version. In particular, we
// remove any Passphrases that may be contained in the JSON. Ownership of the
// return value is transferred to the caller.
- static Value* SanitizeNetworkConfig(const Value* config);
+ static base::Value* SanitizeNetworkConfig(const base::Value* config);
// Filters a network dictionary to remove all sensitive fields and replace
// their values with placeholders.
- static void StripSensitiveValues(DictionaryValue* network_dict);
+ static void MaskSensitiveValues(base::DictionaryValue* network_dict);
chromeos::NetworkUIData::ONCSource onc_source_;
« no previous file with comments | « no previous file | chrome/browser/policy/configuration_policy_handler_chromeos.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698