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_PROFILE_SYNC_COMPONENTS_FACTORY_IMPL_H__ | 5 #ifndef COMPONENTS_BROWSER_SYNC_PROFILE_SYNC_COMPONENTS_FACTORY_IMPL_H__ |
6 #define COMPONENTS_BROWSER_SYNC_BROWSER_PROFILE_SYNC_COMPONENTS_FACTORY_IMPL_H__ | 6 #define COMPONENTS_BROWSER_SYNC_PROFILE_SYNC_COMPONENTS_FACTORY_IMPL_H__ |
7 | 7 |
8 #include <memory> | 8 #include <memory> |
9 #include <string> | 9 #include <string> |
10 | 10 |
11 #include "base/command_line.h" | 11 #include "base/command_line.h" |
12 #include "base/compiler_specific.h" | 12 #include "base/compiler_specific.h" |
13 #include "base/macros.h" | 13 #include "base/macros.h" |
14 #include "base/memory/weak_ptr.h" | 14 #include "base/memory/weak_ptr.h" |
15 #include "components/sync/base/model_type.h" | 15 #include "components/sync/base/model_type.h" |
16 #include "components/sync/driver/sync_api_component_factory.h" | 16 #include "components/sync/driver/sync_api_component_factory.h" |
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
120 const scoped_refptr<password_manager::PasswordStore> password_store_; | 120 const scoped_refptr<password_manager::PasswordStore> password_store_; |
121 | 121 |
122 base::WeakPtrFactory<ProfileSyncComponentsFactoryImpl> weak_factory_; | 122 base::WeakPtrFactory<ProfileSyncComponentsFactoryImpl> weak_factory_; |
123 | 123 |
124 // Whether to override PREFERENCES to use USS. | 124 // Whether to override PREFERENCES to use USS. |
125 static bool override_prefs_controller_to_uss_for_test_; | 125 static bool override_prefs_controller_to_uss_for_test_; |
126 | 126 |
127 DISALLOW_COPY_AND_ASSIGN(ProfileSyncComponentsFactoryImpl); | 127 DISALLOW_COPY_AND_ASSIGN(ProfileSyncComponentsFactoryImpl); |
128 }; | 128 }; |
129 | 129 |
130 #endif // COMPONENTS_BROWSER_SYNC_BROWSER_PROFILE_SYNC_COMPONENTS_FACTORY_IMPL_
H__ | 130 #endif // COMPONENTS_BROWSER_SYNC_PROFILE_SYNC_COMPONENTS_FACTORY_IMPL_H__ |
OLD | NEW |