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

Side by Side Diff: components/sync/core_impl/test/model_type_store_test_util.cc

Issue 2130453004: [Sync] Move //sync to //components/sync. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 4 years, 4 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 unified diff | Download patch
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "sync/internal_api/public/test/model_type_store_test_util.h" 5 #include "components/sync/core/test/model_type_store_test_util.h"
6 6
7 #include <utility> 7 #include <utility>
8 8
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/run_loop.h" 10 #include "base/run_loop.h"
11 #include "testing/gtest/include/gtest/gtest.h" 11 #include "testing/gtest/include/gtest/gtest.h"
12 12
13 namespace syncer_v2 { 13 namespace syncer_v2 {
14 14
15 using Result = ModelTypeStore::Result; 15 using Result = ModelTypeStore::Result;
(...skipping 25 matching lines...) Expand all
41 41
42 // static 42 // static
43 void ModelTypeStoreTestUtil::MoveStoreToCallback( 43 void ModelTypeStoreTestUtil::MoveStoreToCallback(
44 std::unique_ptr<ModelTypeStore> store, 44 std::unique_ptr<ModelTypeStore> store,
45 const ModelTypeStore::InitCallback& callback) { 45 const ModelTypeStore::InitCallback& callback) {
46 ASSERT_TRUE(store); 46 ASSERT_TRUE(store);
47 callback.Run(Result::SUCCESS, std::move(store)); 47 callback.Run(Result::SUCCESS, std::move(store));
48 } 48 }
49 49
50 } // namespace syncer_v2 50 } // namespace syncer_v2
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698