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

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

Issue 7967024: Profile shouldn't own PersonalDataManager (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Addresses isherman #11 Created 9 years, 3 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_FACTORY_IMPL_H__ 5 #ifndef CHROME_BROWSER_SYNC_PROFILE_SYNC_FACTORY_IMPL_H__
6 #define CHROME_BROWSER_SYNC_PROFILE_SYNC_FACTORY_IMPL_H__ 6 #define CHROME_BROWSER_SYNC_PROFILE_SYNC_FACTORY_IMPL_H__
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 10
(...skipping 19 matching lines...) Expand all
30 browser_sync::SyncBackendHost* backend, 30 browser_sync::SyncBackendHost* backend,
31 const browser_sync::DataTypeController::TypeMap* controllers); 31 const browser_sync::DataTypeController::TypeMap* controllers);
32 32
33 virtual SyncComponents CreateAppSyncComponents( 33 virtual SyncComponents CreateAppSyncComponents(
34 ProfileSyncService* profile_sync_service, 34 ProfileSyncService* profile_sync_service,
35 browser_sync::UnrecoverableErrorHandler* error_handler); 35 browser_sync::UnrecoverableErrorHandler* error_handler);
36 36
37 virtual SyncComponents CreateAutofillSyncComponents( 37 virtual SyncComponents CreateAutofillSyncComponents(
38 ProfileSyncService* profile_sync_service, 38 ProfileSyncService* profile_sync_service,
39 WebDatabase* web_database, 39 WebDatabase* web_database,
40 PersonalDataManager* personal_data,
41 browser_sync::UnrecoverableErrorHandler* error_handler); 40 browser_sync::UnrecoverableErrorHandler* error_handler);
42 41
43 virtual SyncComponents CreateAutofillProfileSyncComponents( 42 virtual SyncComponents CreateAutofillProfileSyncComponents(
44 ProfileSyncService* profile_sync_service, 43 ProfileSyncService* profile_sync_service,
45 WebDatabase* web_database, 44 WebDatabase* web_database,
46 PersonalDataManager* personal_data,
47 browser_sync::UnrecoverableErrorHandler* error_handler); 45 browser_sync::UnrecoverableErrorHandler* error_handler);
48 46
49 virtual SyncComponents CreateBookmarkSyncComponents( 47 virtual SyncComponents CreateBookmarkSyncComponents(
50 ProfileSyncService* profile_sync_service, 48 ProfileSyncService* profile_sync_service,
51 browser_sync::UnrecoverableErrorHandler* error_handler); 49 browser_sync::UnrecoverableErrorHandler* error_handler);
52 50
53 virtual SyncComponents CreateExtensionSettingSyncComponents( 51 virtual SyncComponents CreateExtensionSettingSyncComponents(
54 ExtensionSettings* extension_settings, 52 ExtensionSettings* extension_settings,
55 ProfileSyncService* profile_sync_service, 53 ProfileSyncService* profile_sync_service,
56 browser_sync::UnrecoverableErrorHandler* error_handler); 54 browser_sync::UnrecoverableErrorHandler* error_handler);
(...skipping 29 matching lines...) Expand all
86 browser_sync::UnrecoverableErrorHandler* error_handler); 84 browser_sync::UnrecoverableErrorHandler* error_handler);
87 85
88 private: 86 private:
89 Profile* profile_; 87 Profile* profile_;
90 CommandLine* command_line_; 88 CommandLine* command_line_;
91 89
92 DISALLOW_COPY_AND_ASSIGN(ProfileSyncFactoryImpl); 90 DISALLOW_COPY_AND_ASSIGN(ProfileSyncFactoryImpl);
93 }; 91 };
94 92
95 #endif // CHROME_BROWSER_SYNC_PROFILE_SYNC_FACTORY_IMPL_H__ 93 #endif // CHROME_BROWSER_SYNC_PROFILE_SYNC_FACTORY_IMPL_H__
OLDNEW
« no previous file with comments | « chrome/browser/sync/profile_sync_factory.h ('k') | chrome/browser/sync/profile_sync_factory_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698