| Index: sync/internal_api/sync_manager_impl_unittest.cc
|
| diff --git a/sync/internal_api/sync_manager_impl_unittest.cc b/sync/internal_api/sync_manager_impl_unittest.cc
|
| index f2317575dd46f5e0a885d60c259fcc89917a583f..ee722542a7e5e09c5c9416ad2829311def3e870e 100644
|
| --- a/sync/internal_api/sync_manager_impl_unittest.cc
|
| +++ b/sync/internal_api/sync_manager_impl_unittest.cc
|
| @@ -6,10 +6,12 @@
|
| // functionality is provided by the Syncable layer, which has its own
|
| // unit tests. We'll test SyncApi specific things in this harness.
|
|
|
| -#include <stdint.h>
|
| +#include "sync/internal_api/sync_manager_impl.h"
|
|
|
| +#include <stdint.h>
|
| #include <cstddef>
|
| #include <map>
|
| +#include <utility>
|
|
|
| #include "base/callback.h"
|
| #include "base/compiler_specific.h"
|
| @@ -42,7 +44,6 @@
|
| #include "sync/internal_api/public/write_node.h"
|
| #include "sync/internal_api/public/write_transaction.h"
|
| #include "sync/internal_api/sync_encryption_handler_impl.h"
|
| -#include "sync/internal_api/sync_manager_impl.h"
|
| #include "sync/internal_api/syncapi_internal.h"
|
| #include "sync/js/js_backend.h"
|
| #include "sync/js/js_event_handler.h"
|
| @@ -2549,7 +2550,7 @@ class ComponentsFactory : public TestInternalComponentsFactory {
|
| sessions::SyncSessionContext* context,
|
| CancelationSignal* stop_handle) override {
|
| *session_context_ = context;
|
| - return scheduler_to_use_.Pass();
|
| + return std::move(scheduler_to_use_);
|
| }
|
|
|
| private:
|
|
|