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 SYNC_INTERNAL_API_PUBLIC_TEST_TEST_INTERNAL_COMPONENTS_FACTORY_H_ | 5 #ifndef SYNC_INTERNAL_API_PUBLIC_TEST_TEST_INTERNAL_COMPONENTS_FACTORY_H_ |
6 #define SYNC_INTERNAL_API_PUBLIC_TEST_TEST_INTERNAL_COMPONENTS_FACTORY_H_ | 6 #define SYNC_INTERNAL_API_PUBLIC_TEST_TEST_INTERNAL_COMPONENTS_FACTORY_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
| 11 #include "base/macros.h" |
11 #include "sync/internal_api/public/internal_components_factory.h" | 12 #include "sync/internal_api/public/internal_components_factory.h" |
12 | 13 |
13 namespace syncer { | 14 namespace syncer { |
14 | 15 |
15 class TestInternalComponentsFactory : public InternalComponentsFactory { | 16 class TestInternalComponentsFactory : public InternalComponentsFactory { |
16 public: | 17 public: |
17 explicit TestInternalComponentsFactory(const Switches& switches, | 18 explicit TestInternalComponentsFactory(const Switches& switches, |
18 StorageOption option, | 19 StorageOption option, |
19 StorageOption* storage_used); | 20 StorageOption* storage_used); |
20 ~TestInternalComponentsFactory() override; | 21 ~TestInternalComponentsFactory() override; |
(...skipping 23 matching lines...) Expand all Loading... |
44 const Switches switches_; | 45 const Switches switches_; |
45 const StorageOption storage_override_; | 46 const StorageOption storage_override_; |
46 StorageOption* storage_used_; | 47 StorageOption* storage_used_; |
47 | 48 |
48 DISALLOW_COPY_AND_ASSIGN(TestInternalComponentsFactory); | 49 DISALLOW_COPY_AND_ASSIGN(TestInternalComponentsFactory); |
49 }; | 50 }; |
50 | 51 |
51 } // namespace syncer | 52 } // namespace syncer |
52 | 53 |
53 #endif // SYNC_INTERNAL_API_PUBLIC_TEST_TEST_INTERNAL_COMPONENTS_FACTORY_H_ | 54 #endif // SYNC_INTERNAL_API_PUBLIC_TEST_TEST_INTERNAL_COMPONENTS_FACTORY_H_ |
OLD | NEW |