Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(110)

Side by Side Diff: chrome/browser/sync/profile_sync_components_factory_impl.h

Issue 12897009: Autofill Webdata Split TRY ONLY (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Try again Created 7 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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"
11 #include "base/compiler_specific.h" 11 #include "base/compiler_specific.h"
12 #include "chrome/browser/api/webdata/autofill_web_data_service.h"
12 #include "chrome/browser/sync/profile_sync_components_factory.h" 13 #include "chrome/browser/sync/profile_sync_components_factory.h"
13 #include "chrome/browser/webdata/web_data_service.h" 14
14 15
15 class CommandLine; 16 class CommandLine;
16 class Profile; 17 class Profile;
17 18
18 namespace extensions { 19 namespace extensions {
19 class ExtensionSystem; 20 class ExtensionSystem;
20 } 21 }
21 22
22 class ProfileSyncComponentsFactoryImpl : public ProfileSyncComponentsFactory { 23 class ProfileSyncComponentsFactoryImpl : public ProfileSyncComponentsFactory {
23 public: 24 public:
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 void RegisterDesktopDataTypes(ProfileSyncService* pss); 69 void RegisterDesktopDataTypes(ProfileSyncService* pss);
69 // Register data types which are enabled on both desktop and mobile. 70 // Register data types which are enabled on both desktop and mobile.
70 void RegisterCommonDataTypes(ProfileSyncService* pss); 71 void RegisterCommonDataTypes(ProfileSyncService* pss);
71 72
72 Profile* profile_; 73 Profile* profile_;
73 CommandLine* command_line_; 74 CommandLine* command_line_;
74 // Set on the UI thread (since extensions::ExtensionSystemFactory is 75 // Set on the UI thread (since extensions::ExtensionSystemFactory is
75 // non-threadsafe); accessed on both the UI and FILE threads in 76 // non-threadsafe); accessed on both the UI and FILE threads in
76 // GetSyncableServiceForType. 77 // GetSyncableServiceForType.
77 extensions::ExtensionSystem* extension_system_; 78 extensions::ExtensionSystem* extension_system_;
78 scoped_refptr<WebDataService> web_data_service_; 79 scoped_refptr<AutofillWebDataService> web_data_service_;
79 80
80 DISALLOW_COPY_AND_ASSIGN(ProfileSyncComponentsFactoryImpl); 81 DISALLOW_COPY_AND_ASSIGN(ProfileSyncComponentsFactoryImpl);
81 }; 82 };
82 83
83 #endif // CHROME_BROWSER_SYNC_PROFILE_SYNC_COMPONENTS_FACTORY_IMPL_H__ 84 #endif // CHROME_BROWSER_SYNC_PROFILE_SYNC_COMPONENTS_FACTORY_IMPL_H__
OLDNEW
« no previous file with comments | « chrome/browser/sync/glue/password_data_type_controller.cc ('k') | chrome/browser/sync/profile_sync_components_factory_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698