| 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_IMPL_H__ | 5 #ifndef CHROME_BROWSER_SYNC_PROFILE_SYNC_COMPONENTS_FACTORY_IMPL_H__ |
| 6 #define CHROME_BROWSER_SYNC_PROFILE_SYNC_COMPONENTS_FACTORY_IMPL_H__ | 6 #define CHROME_BROWSER_SYNC_PROFILE_SYNC_COMPONENTS_FACTORY_IMPL_H__ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
| (...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 71 void RegisterDesktopDataTypes(ProfileSyncService* pss); | 71 void RegisterDesktopDataTypes(ProfileSyncService* pss); |
| 72 // Register data types which are enabled on both desktop and mobile. | 72 // Register data types which are enabled on both desktop and mobile. |
| 73 void RegisterCommonDataTypes(ProfileSyncService* pss); | 73 void RegisterCommonDataTypes(ProfileSyncService* pss); |
| 74 | 74 |
| 75 Profile* profile_; | 75 Profile* profile_; |
| 76 CommandLine* command_line_; | 76 CommandLine* command_line_; |
| 77 // Set on the UI thread (since extensions::ExtensionSystemFactory is | 77 // Set on the UI thread (since extensions::ExtensionSystemFactory is |
| 78 // non-threadsafe); accessed on both the UI and FILE threads in | 78 // non-threadsafe); accessed on both the UI and FILE threads in |
| 79 // GetSyncableServiceForType. | 79 // GetSyncableServiceForType. |
| 80 extensions::ExtensionSystem* extension_system_; | 80 extensions::ExtensionSystem* extension_system_; |
| 81 scoped_refptr<autofill::AutofillWebDataService> web_data_service_; | 81 autofill::AutofillWebDataService* web_data_service_; |
| 82 | 82 |
| 83 DISALLOW_COPY_AND_ASSIGN(ProfileSyncComponentsFactoryImpl); | 83 DISALLOW_COPY_AND_ASSIGN(ProfileSyncComponentsFactoryImpl); |
| 84 }; | 84 }; |
| 85 | 85 |
| 86 #endif // CHROME_BROWSER_SYNC_PROFILE_SYNC_COMPONENTS_FACTORY_IMPL_H__ | 86 #endif // CHROME_BROWSER_SYNC_PROFILE_SYNC_COMPONENTS_FACTORY_IMPL_H__ |
| OLD | NEW |