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

Unified Diff: chromeos/network/network_state_handler.h

Issue 1091043002: Use networkingPrivate.startConnect (Take 2) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 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 | « chromeos/network/network_state.cc ('k') | chromeos/network/network_state_handler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromeos/network/network_state_handler.h
diff --git a/chromeos/network/network_state_handler.h b/chromeos/network/network_state_handler.h
index 135d225737a0a0544fd6d84e275f4fd43a0af4a2..f032f77c96c418fc8591484ad443f20b232fe3cd 100644
--- a/chromeos/network/network_state_handler.h
+++ b/chromeos/network/network_state_handler.h
@@ -224,6 +224,10 @@ class CHROMEOS_EXPORT NetworkStateHandler
return default_network_path_;
}
+ // Sets the |last_error_| property of the matching NetworkState for tests.
+ void SetLastErrorForTest(const std::string& service_path,
+ const std::string& error);
+
// Constructs and initializes an instance for testing.
static NetworkStateHandler* InitializeForTest();
« no previous file with comments | « chromeos/network/network_state.cc ('k') | chromeos/network/network_state_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698