OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 #ifndef COMPONENTS_BROWSER_SYNC_BROWSER_ABSTRACT_PROFILE_SYNC_SERVICE_TEST_H_ | 5 #ifndef COMPONENTS_BROWSER_SYNC_BROWSER_ABSTRACT_PROFILE_SYNC_SERVICE_TEST_H_ |
6 #define COMPONENTS_BROWSER_SYNC_BROWSER_ABSTRACT_PROFILE_SYNC_SERVICE_TEST_H_ | 6 #define COMPONENTS_BROWSER_SYNC_BROWSER_ABSTRACT_PROFILE_SYNC_SERVICE_TEST_H_ |
7 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include <memory> | 10 #include <memory> |
11 #include <string> | 11 #include <string> |
12 | 12 |
13 #include "base/callback.h" | 13 #include "base/callback.h" |
14 #include "base/files/scoped_temp_dir.h" | 14 #include "base/files/scoped_temp_dir.h" |
15 #include "base/macros.h" | 15 #include "base/macros.h" |
16 #include "base/test/test_message_loop.h" | 16 #include "base/test/test_message_loop.h" |
17 #include "components/browser_sync/browser/profile_sync_test_util.h" | 17 #include "components/browser_sync/browser/profile_sync_test_util.h" |
18 #include "sync/internal_api/public/base/model_type.h" | 18 #include "components/sync/base/model_type.h" |
19 #include "sync/internal_api/public/change_record.h" | 19 #include "components/sync/core/change_record.h" |
20 #include "testing/gtest/include/gtest/gtest.h" | 20 #include "testing/gtest/include/gtest/gtest.h" |
21 | 21 |
22 class TestProfileSyncService; | 22 class TestProfileSyncService; |
23 | 23 |
24 namespace syncer { | 24 namespace syncer { |
25 struct UserShare; | 25 struct UserShare; |
26 } // namespace syncer | 26 } // namespace syncer |
27 | 27 |
28 class ProfileSyncServiceTestHelper { | 28 class ProfileSyncServiceTestHelper { |
29 public: | 29 public: |
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
98 | 98 |
99 base::Closure callback_; | 99 base::Closure callback_; |
100 AbstractProfileSyncServiceTest* test_; | 100 AbstractProfileSyncServiceTest* test_; |
101 syncer::ModelType model_type_; | 101 syncer::ModelType model_type_; |
102 bool success_; | 102 bool success_; |
103 | 103 |
104 DISALLOW_COPY_AND_ASSIGN(CreateRootHelper); | 104 DISALLOW_COPY_AND_ASSIGN(CreateRootHelper); |
105 }; | 105 }; |
106 | 106 |
107 #endif // COMPONENTS_BROWSER_SYNC_BROWSER_ABSTRACT_PROFILE_SYNC_SERVICE_TEST_H_ | 107 #endif // COMPONENTS_BROWSER_SYNC_BROWSER_ABSTRACT_PROFILE_SYNC_SERVICE_TEST_H_ |
OLD | NEW |