Index: components/policy/core/common/cloud/device_management_service_unittest.cc |
diff --git a/components/policy/core/common/cloud/device_management_service_unittest.cc b/components/policy/core/common/cloud/device_management_service_unittest.cc |
index 30d0e7321680ffc1be33c85caeaaaf1c478b61df..7d3704b9991c000a7784bb22da7ee935bebe5394 100644 |
--- a/components/policy/core/common/cloud/device_management_service_unittest.cc |
+++ b/components/policy/core/common/cloud/device_management_service_unittest.cc |
@@ -2,7 +2,10 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
+#include "components/policy/core/common/cloud/device_management_service.h" |
+ |
#include <ostream> |
+#include <utility> |
#include <vector> |
#include "base/bind.h" |
@@ -10,7 +13,6 @@ |
#include "base/run_loop.h" |
#include "base/strings/string_split.h" |
#include "components/policy/core/common/cloud/cloud_policy_constants.h" |
-#include "components/policy/core/common/cloud/device_management_service.h" |
#include "components/policy/core/common/cloud/mock_device_management_service.h" |
#include "net/base/escape.h" |
#include "net/base/load_flags.h" |
@@ -63,7 +65,7 @@ class DeviceManagementServiceTestBase : public testing::Test { |
void ResetService() { |
scoped_ptr<DeviceManagementService::Configuration> configuration( |
new MockDeviceManagementServiceConfiguration(kServiceUrl)); |
- service_.reset(new DeviceManagementService(configuration.Pass())); |
+ service_.reset(new DeviceManagementService(std::move(configuration))); |
} |
void InitializeService() { |