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 CHROME_BROWSER_SYNC_TEST_PROFILE_SYNC_SERVICE_H_ | 5 #ifndef CHROME_BROWSER_SYNC_TEST_PROFILE_SYNC_SERVICE_H_ |
6 #define CHROME_BROWSER_SYNC_TEST_PROFILE_SYNC_SERVICE_H_ | 6 #define CHROME_BROWSER_SYNC_TEST_PROFILE_SYNC_SERVICE_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <string> | 9 #include <string> |
10 | 10 |
11 #include "base/callback.h" | 11 #include "base/callback.h" |
12 #include "base/compiler_specific.h" | 12 #include "base/compiler_specific.h" |
13 #include "base/memory/weak_ptr.h" | 13 #include "base/memory/weak_ptr.h" |
14 #include "chrome/browser/sync/glue/data_type_manager_impl.h" | 14 #include "chrome/browser/sync/glue/data_type_manager_impl.h" |
15 #include "chrome/browser/sync/profile_sync_service.h" | 15 #include "chrome/browser/sync/profile_sync_service.h" |
16 #include "chrome/browser/sync/test/engine/test_id_factory.h" | |
17 #include "chrome/test/base/profile_mock.h" | 16 #include "chrome/test/base/profile_mock.h" |
| 17 #include "sync/test/engine/test_id_factory.h" |
18 #include "testing/gmock/include/gmock/gmock.h" | 18 #include "testing/gmock/include/gmock/gmock.h" |
19 | 19 |
20 class Profile; | 20 class Profile; |
21 class Task; | 21 class Task; |
22 class TestProfileSyncService; | 22 class TestProfileSyncService; |
23 | 23 |
24 ACTION(ReturnNewDataTypeManager) { | 24 ACTION(ReturnNewDataTypeManager) { |
25 return new browser_sync::DataTypeManagerImpl(arg0, arg1); | 25 return new browser_sync::DataTypeManagerImpl(arg0, arg1); |
26 } | 26 } |
27 | 27 |
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
114 | 114 |
115 base::Closure callback_; | 115 base::Closure callback_; |
116 bool set_initial_sync_ended_on_init_; | 116 bool set_initial_sync_ended_on_init_; |
117 | 117 |
118 bool fail_initial_download_; | 118 bool fail_initial_download_; |
119 }; | 119 }; |
120 | 120 |
121 | 121 |
122 | 122 |
123 #endif // CHROME_BROWSER_SYNC_TEST_PROFILE_SYNC_SERVICE_H_ | 123 #endif // CHROME_BROWSER_SYNC_TEST_PROFILE_SYNC_SERVICE_H_ |
OLD | NEW |