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

Unified Diff: chromeos/network/network_util.cc

Issue 552113002: Add ONC 'Source' configuration property (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@issue_279351_internet_options_9a
Patch Set: Rebase, Feedback, add *Policy sources Created 6 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: chromeos/network/network_util.cc
diff --git a/chromeos/network/network_util.cc b/chromeos/network/network_util.cc
index c090444d2e495e2e873f2ea1796a677fe0798ff0..1030e2076b2edf5492660219eb91dc5a55908001 100644
--- a/chromeos/network/network_util.cc
+++ b/chromeos/network/network_util.cc
@@ -147,8 +147,9 @@ scoped_ptr<base::DictionaryValue> TranslateNetworkStateToONC(
network->GetStateProperties(&shill_dictionary);
scoped_ptr<base::DictionaryValue> onc_dictionary =
- TranslateShillServiceToONCPart(
- shill_dictionary, &onc::kNetworkWithStateSignature);
+ TranslateShillServiceToONCPart(shill_dictionary,
+ ::onc::ONC_SOURCE_NONE,
pneubeck (no reviews) 2014/09/10 10:49:38 Ohoh, note that this will lead to incorrect 'Sourc
stevenjb 2014/09/10 17:32:15 I guess I was assuming that we wouldn't care in th
+ &onc::kNetworkWithStateSignature);
return onc_dictionary.Pass();
}

Powered by Google App Engine
This is Rietveld 408576698