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

Unified Diff: chrome/browser/chromeos/options/network_property_ui_data.h

Issue 427903004: Support Managed NetworkState format dictionaries for controlled settings. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Feedback Created 6 years, 5 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/options/network_property_ui_data.h
diff --git a/chrome/browser/chromeos/options/network_property_ui_data.h b/chrome/browser/chromeos/options/network_property_ui_data.h
index 10db2d794d72b6b55ccc2a231b6d7e0bc13d1be9..1fc4887cb07ebbf111c54d8d24a819809ea8ce41 100644
--- a/chrome/browser/chromeos/options/network_property_ui_data.h
+++ b/chrome/browser/chromeos/options/network_property_ui_data.h
@@ -37,7 +37,14 @@ class NetworkPropertyUIData {
const base::DictionaryValue* onc,
const std::string& property_key);
+ // Set the onc source and default value. TODO(stevenjb): Remove. This is
+ // a temporary helper method for the internet_options_handler.cc migraiton.
armansito 2014/07/31 19:15:46 nit: s/migraiton/migration/
stevenjb 2014/08/01 00:53:41 Done.
+ void SetOncSourceAndValue(::onc::ONCSource onc_source,
+ const base::Value* value);
+
const base::Value* default_value() const { return default_value_.get(); }
+ const ::onc::ONCSource& onc_source() const { return onc_source_; }
+
bool IsManaged() const {
return (onc_source_ == ::onc::ONC_SOURCE_DEVICE_POLICY ||
onc_source_ == ::onc::ONC_SOURCE_USER_POLICY);

Powered by Google App Engine
This is Rietveld 408576698