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_ABSTRACT_PROFILE_SYNC_SERVICE_TEST_H_ | 5 #ifndef CHROME_BROWSER_SYNC_ABSTRACT_PROFILE_SYNC_SERVICE_TEST_H_ |
6 #define CHROME_BROWSER_SYNC_ABSTRACT_PROFILE_SYNC_SERVICE_TEST_H_ | 6 #define CHROME_BROWSER_SYNC_ABSTRACT_PROFILE_SYNC_SERVICE_TEST_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/scoped_ptr.h" | 13 #include "base/memory/scoped_ptr.h" |
14 #include "base/message_loop.h" | 14 #include "base/message_loop.h" |
15 #include "chrome/browser/signin/token_service.h" | 15 #include "chrome/browser/signin/token_service.h" |
16 #include "chrome/browser/sync/internal_api/change_record.h" | |
17 #include "chrome/browser/sync/profile_sync_components_factory_mock.h" | 16 #include "chrome/browser/sync/profile_sync_components_factory_mock.h" |
18 #include "content/test/test_browser_thread.h" | 17 #include "content/test/test_browser_thread.h" |
| 18 #include "sync/internal_api/change_record.h" |
19 #include "sync/syncable/model_type.h" | 19 #include "sync/syncable/model_type.h" |
20 #include "testing/gtest/include/gtest/gtest.h" | 20 #include "testing/gtest/include/gtest/gtest.h" |
21 | 21 |
22 class ProfileSyncService; | 22 class ProfileSyncService; |
23 class TestProfileSyncService; | 23 class TestProfileSyncService; |
24 | 24 |
25 namespace browser_sync { | 25 namespace browser_sync { |
26 class TestIdFactory; | 26 class TestIdFactory; |
27 } // namespace browser_sync | 27 } // namespace browser_sync |
28 | 28 |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
82 private: | 82 private: |
83 void CreateRootCallback(); | 83 void CreateRootCallback(); |
84 | 84 |
85 base::Closure callback_; | 85 base::Closure callback_; |
86 AbstractProfileSyncServiceTest* test_; | 86 AbstractProfileSyncServiceTest* test_; |
87 syncable::ModelType model_type_; | 87 syncable::ModelType model_type_; |
88 bool success_; | 88 bool success_; |
89 }; | 89 }; |
90 | 90 |
91 #endif // CHROME_BROWSER_SYNC_ABSTRACT_PROFILE_SYNC_SERVICE_TEST_H_ | 91 #endif // CHROME_BROWSER_SYNC_ABSTRACT_PROFILE_SYNC_SERVICE_TEST_H_ |
OLD | NEW |