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

Unified Diff: chromeos/network/network_util.cc

Issue 1283613005: Add networkingPrivate.getThirdPartyVpnProviderList (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@issue_515987_cr_network_list
Patch Set: Rebase Created 5 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
Index: chromeos/network/network_util.cc
diff --git a/chromeos/network/network_util.cc b/chromeos/network/network_util.cc
index 54a619a95ce5fab549c2bfad7419c14b0d0f3c38..af660e2aa27c18694710af996859148993fc0a63 100644
--- a/chromeos/network/network_util.cc
+++ b/chromeos/network/network_util.cc
@@ -187,8 +187,7 @@ scoped_ptr<base::ListValue> TranslateNetworkListToONC(
NetworkTypePattern pattern,
bool configured_only,
bool visible_only,
- int limit,
- bool debugging_properties) {
+ int limit) {
NetworkStateHandler::NetworkStateList network_states;
NetworkHandler::Get()->network_state_handler()->GetNetworkListByType(
pattern, configured_only, visible_only, limit, &network_states);
@@ -197,14 +196,6 @@ scoped_ptr<base::ListValue> TranslateNetworkListToONC(
for (const NetworkState* state : network_states) {
scoped_ptr<base::DictionaryValue> onc_dictionary =
TranslateNetworkStateToONC(state);
-
- if (debugging_properties) {
- onc_dictionary->SetBoolean("connectable", state->connectable());
- onc_dictionary->SetBoolean("visible", state->visible());
- onc_dictionary->SetString("profile_path", state->profile_path());
- onc_dictionary->SetString("service_path", state->path());
- }
-
network_properties_list->Append(onc_dictionary.release());
}
return network_properties_list.Pass();

Powered by Google App Engine
This is Rietveld 408576698