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

Unified Diff: chromeos/network/network_state_handler.h

Issue 2478573003: NetworkStateHandler::InitializeForTest() should return a std::unique_ptr. (Closed)
Patch Set: Created 4 years, 1 month 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_state_handler.h
diff --git a/chromeos/network/network_state_handler.h b/chromeos/network/network_state_handler.h
index b752227708f59086e83ce3f4bef30dc7d7ac2689..c3df34455630b05ede7cb0379c2c455d537c9597 100644
--- a/chromeos/network/network_state_handler.h
+++ b/chromeos/network/network_state_handler.h
@@ -244,7 +244,7 @@ class CHROMEOS_EXPORT NetworkStateHandler
const std::string& error);
// Constructs and initializes an instance for testing.
- static NetworkStateHandler* InitializeForTest();
+ static std::unique_ptr<NetworkStateHandler> InitializeForTest();
// Default set of comma separated interfaces on which to enable
// portal checking.

Powered by Google App Engine
This is Rietveld 408576698