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

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

Issue 5159001: Rest of the autofill work. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: patch uploaded to debug why try servers have problem applying this patch. Created 10 years 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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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_H__ 5 #ifndef CHROME_BROWSER_SYNC_PROFILE_SYNC_FACTORY_H__
6 #define CHROME_BROWSER_SYNC_PROFILE_SYNC_FACTORY_H__ 6 #define CHROME_BROWSER_SYNC_PROFILE_SYNC_FACTORY_H__
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 #include <utility> 10 #include <utility>
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 // Instantiates both a model associator and change processor for the 70 // Instantiates both a model associator and change processor for the
71 // autofill data type. The pointers in the return struct are owned 71 // autofill data type. The pointers in the return struct are owned
72 // by the caller. 72 // by the caller.
73 virtual SyncComponents CreateAutofillSyncComponents( 73 virtual SyncComponents CreateAutofillSyncComponents(
74 ProfileSyncService* profile_sync_service, 74 ProfileSyncService* profile_sync_service,
75 WebDatabase* web_database, 75 WebDatabase* web_database,
76 PersonalDataManager* personal_data, 76 PersonalDataManager* personal_data,
77 browser_sync::UnrecoverableErrorHandler* error_handler) = 0; 77 browser_sync::UnrecoverableErrorHandler* error_handler) = 0;
78 78
79 // Instantiates both a model associator and change processor for the 79 // Instantiates both a model associator and change processor for the
80 // autofill data type. The pointers in the return struct are owned
81 // by the caller.
82 virtual SyncComponents CreateAutofillProfileSyncComponents(
83 ProfileSyncService* profile_sync_service,
84 WebDatabase* web_database,
85 PersonalDataManager* personal_data,
86 browser_sync::UnrecoverableErrorHandler* error_handler) = 0;
87
88 // Instantiates both a model associator and change processor for the
80 // bookmark data type. The pointers in the return struct are owned 89 // bookmark data type. The pointers in the return struct are owned
81 // by the caller. 90 // by the caller.
82 virtual SyncComponents CreateBookmarkSyncComponents( 91 virtual SyncComponents CreateBookmarkSyncComponents(
83 ProfileSyncService* profile_sync_service, 92 ProfileSyncService* profile_sync_service,
84 browser_sync::UnrecoverableErrorHandler* error_handler) = 0; 93 browser_sync::UnrecoverableErrorHandler* error_handler) = 0;
85 94
86 // Instantiates both a model associator and change processor for the 95 // Instantiates both a model associator and change processor for the
87 // extension data type. The pointers in the return struct are 96 // extension data type. The pointers in the return struct are
88 // owned by the caller. 97 // owned by the caller.
89 virtual SyncComponents CreateExtensionSyncComponents( 98 virtual SyncComponents CreateExtensionSyncComponents(
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
122 131
123 // Instantiates both a model associator and change processor for the 132 // Instantiates both a model associator and change processor for the
124 // session data type. The pointers in the return struct are 133 // session data type. The pointers in the return struct are
125 // owned by the caller. 134 // owned by the caller.
126 virtual SyncComponents CreateSessionSyncComponents( 135 virtual SyncComponents CreateSessionSyncComponents(
127 ProfileSyncService* profile_sync_service, 136 ProfileSyncService* profile_sync_service,
128 browser_sync::UnrecoverableErrorHandler* error_handler) = 0; 137 browser_sync::UnrecoverableErrorHandler* error_handler) = 0;
129 }; 138 };
130 139
131 #endif // CHROME_BROWSER_SYNC_PROFILE_SYNC_FACTORY_H__ 140 #endif // CHROME_BROWSER_SYNC_PROFILE_SYNC_FACTORY_H__
OLDNEW
« no previous file with comments | « chrome/browser/sync/glue/sync_backend_host.cc ('k') | chrome/browser/sync/profile_sync_factory_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698