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

Unified Diff: chromeos/network/managed_network_configuration_handler_unittest.cc

Issue 181413006: Replace misc. network stub flags with more flexible ones (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Elim. shill_stub_helper and move functions to clients. Created 6 years, 10 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/managed_network_configuration_handler_unittest.cc
diff --git a/chromeos/network/managed_network_configuration_handler_unittest.cc b/chromeos/network/managed_network_configuration_handler_unittest.cc
index 2fe454d660910f11e1f9f50304401675f768d14d..2a81bcc8196998851eee468e2e8fa21c8ba6677d 100644
--- a/chromeos/network/managed_network_configuration_handler_unittest.cc
+++ b/chromeos/network/managed_network_configuration_handler_unittest.cc
@@ -44,7 +44,6 @@ std::string ValueToString(const base::Value* value) {
return str.str();
}
-const char kSharedProfilePath[] = "/profile/default";
const char kUser1[] = "user1";
const char kUser1ProfilePath[] = "/profile/user1/shill";
@@ -208,7 +207,8 @@ class ManagedNetworkConfigurationHandlerTest : public testing::Test {
network_profile_handler_->
AddProfileForTest(NetworkProfile(kUser1ProfilePath, kUser1));
network_profile_handler_->
- AddProfileForTest(NetworkProfile(kSharedProfilePath, std::string()));
+ AddProfileForTest(NetworkProfile(
+ NetworkProfileHandler::GetSharedProfilePath(), std::string()));
}
void SetUpEntry(const std::string& path_to_shill_json,

Powered by Google App Engine
This is Rietveld 408576698