Index: content/browser/geolocation/wifi_data_provider_linux_unittest.cc |
diff --git a/content/browser/geolocation/wifi_data_provider_linux_unittest.cc b/content/browser/geolocation/wifi_data_provider_linux_unittest.cc |
index e5a39b96a3196ed2c7408fe5db795c8b788d70e8..95eebe98348a6c103681e71206cb50295a8eeb17 100644 |
--- a/content/browser/geolocation/wifi_data_provider_linux_unittest.cc |
+++ b/content/browser/geolocation/wifi_data_provider_linux_unittest.cc |
@@ -11,6 +11,7 @@ |
#include "dbus/message.h" |
#include "dbus/mock_bus.h" |
#include "dbus/mock_object_proxy.h" |
+#include "dbus/object_path.h" |
#include "dbus/object_proxy.h" |
#include "testing/gmock/include/gmock/gmock.h" |
#include "testing/gtest/include/gtest/gtest.h" |
@@ -115,7 +116,7 @@ class GeolocationWifiDataProviderLinuxTest : public testing::Test { |
if (method_call->GetInterface() == "org.freedesktop.NetworkManager" && |
method_call->GetMember() == "GetDevices") { |
// The list of devices is asked. Return the object path. |
- std::vector<std::string> object_paths; |
+ std::vector<dbus::ObjectPath> object_paths; |
object_paths.push_back("/org/freedesktop/NetworkManager/Devices/0"); |
dbus::Response* response = dbus::Response::CreateEmpty(); |
@@ -152,7 +153,7 @@ class GeolocationWifiDataProviderLinuxTest : public testing::Test { |
// The list of access points is asked. Return the object path. |
dbus::Response* response = dbus::Response::CreateEmpty(); |
dbus::MessageWriter writer(response); |
- std::vector<std::string> object_paths; |
+ std::vector<dbus::ObjectPath> object_paths; |
object_paths.push_back("/org/freedesktop/NetworkManager/AccessPoint/0"); |
writer.AppendArrayOfObjectPaths(object_paths); |
return response; |