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_PROFILE_SYNC_COMPONENTS_FACTORY_MOCK_H__ | 5 #ifndef CHROME_BROWSER_SYNC_PROFILE_SYNC_COMPONENTS_FACTORY_MOCK_H__ |
6 #define CHROME_BROWSER_SYNC_PROFILE_SYNC_COMPONENTS_FACTORY_MOCK_H__ | 6 #define CHROME_BROWSER_SYNC_PROFILE_SYNC_COMPONENTS_FACTORY_MOCK_H__ |
7 #pragma once | |
8 | 7 |
9 #include "base/memory/scoped_ptr.h" | 8 #include "base/memory/scoped_ptr.h" |
10 #include "chrome/browser/sync/glue/data_type_controller.h" | 9 #include "chrome/browser/sync/glue/data_type_controller.h" |
11 #include "chrome/browser/sync/glue/data_type_error_handler.h" | 10 #include "chrome/browser/sync/glue/data_type_error_handler.h" |
12 #include "chrome/browser/sync/profile_sync_components_factory.h" | 11 #include "chrome/browser/sync/profile_sync_components_factory.h" |
13 #include "chrome/browser/sync/profile_sync_service.h" | 12 #include "chrome/browser/sync/profile_sync_service.h" |
14 #include "testing/gmock/include/gmock/gmock.h" | 13 #include "testing/gmock/include/gmock/gmock.h" |
15 | 14 |
16 namespace browser_sync { | 15 namespace browser_sync { |
17 class AssociatorInterface; | 16 class AssociatorInterface; |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
63 browser_sync::DataTypeErrorHandler* error_handler)); | 62 browser_sync::DataTypeErrorHandler* error_handler)); |
64 | 63 |
65 private: | 64 private: |
66 SyncComponents MakeSyncComponents(); | 65 SyncComponents MakeSyncComponents(); |
67 | 66 |
68 scoped_ptr<browser_sync::AssociatorInterface> model_associator_; | 67 scoped_ptr<browser_sync::AssociatorInterface> model_associator_; |
69 scoped_ptr<browser_sync::ChangeProcessor> change_processor_; | 68 scoped_ptr<browser_sync::ChangeProcessor> change_processor_; |
70 }; | 69 }; |
71 | 70 |
72 #endif // CHROME_BROWSER_SYNC_PROFILE_SYNC_COMPONENTS_FACTORY_MOCK_H__ | 71 #endif // CHROME_BROWSER_SYNC_PROFILE_SYNC_COMPONENTS_FACTORY_MOCK_H__ |
OLD | NEW |