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, |