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

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

Issue 272043002: Invoke AttachmentUploader and update AttachmentIds. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix Android build Created 6 years, 7 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
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"
(...skipping 30 matching lines...) Expand all
41 OVERRIDE; 41 OVERRIDE;
42 42
43 virtual browser_sync::SyncBackendHost* CreateSyncBackendHost( 43 virtual browser_sync::SyncBackendHost* CreateSyncBackendHost(
44 const std::string& name, 44 const std::string& name,
45 Profile* profile, 45 Profile* profile,
46 const base::WeakPtr<sync_driver::SyncPrefs>& sync_prefs, 46 const base::WeakPtr<sync_driver::SyncPrefs>& sync_prefs,
47 const base::FilePath& sync_folder) OVERRIDE; 47 const base::FilePath& sync_folder) OVERRIDE;
48 48
49 virtual base::WeakPtr<syncer::SyncableService> GetSyncableServiceForType( 49 virtual base::WeakPtr<syncer::SyncableService> GetSyncableServiceForType(
50 syncer::ModelType type) OVERRIDE; 50 syncer::ModelType type) OVERRIDE;
51 virtual scoped_ptr<syncer::AttachmentStore> 51 virtual scoped_ptr<syncer::AttachmentService> CreateAttachmentService(
52 CreateCustomAttachmentStoreForType(syncer::ModelType type) OVERRIDE; 52 syncer::AttachmentService::Delegate* delegate) OVERRIDE;
53 53
54 // Legacy datatypes that need to be converted to the SyncableService API. 54 // Legacy datatypes that need to be converted to the SyncableService API.
55 virtual SyncComponents CreateBookmarkSyncComponents( 55 virtual SyncComponents CreateBookmarkSyncComponents(
56 ProfileSyncService* profile_sync_service, 56 ProfileSyncService* profile_sync_service,
57 browser_sync::DataTypeErrorHandler* error_handler) OVERRIDE; 57 browser_sync::DataTypeErrorHandler* error_handler) OVERRIDE;
58 virtual SyncComponents CreateTypedUrlSyncComponents( 58 virtual SyncComponents CreateTypedUrlSyncComponents(
59 ProfileSyncService* profile_sync_service, 59 ProfileSyncService* profile_sync_service,
60 history::HistoryBackend* history_backend, 60 history::HistoryBackend* history_backend,
61 browser_sync::DataTypeErrorHandler* error_handler) OVERRIDE; 61 browser_sync::DataTypeErrorHandler* error_handler) OVERRIDE;
62 62
(...skipping 10 matching lines...) Expand all
73 // Set on the UI thread (since extensions::ExtensionSystemFactory is 73 // Set on the UI thread (since extensions::ExtensionSystemFactory is
74 // non-threadsafe); accessed on both the UI and FILE threads in 74 // non-threadsafe); accessed on both the UI and FILE threads in
75 // GetSyncableServiceForType. 75 // GetSyncableServiceForType.
76 extensions::ExtensionSystem* extension_system_; 76 extensions::ExtensionSystem* extension_system_;
77 scoped_refptr<autofill::AutofillWebDataService> web_data_service_; 77 scoped_refptr<autofill::AutofillWebDataService> web_data_service_;
78 78
79 DISALLOW_COPY_AND_ASSIGN(ProfileSyncComponentsFactoryImpl); 79 DISALLOW_COPY_AND_ASSIGN(ProfileSyncComponentsFactoryImpl);
80 }; 80 };
81 81
82 #endif // CHROME_BROWSER_SYNC_PROFILE_SYNC_COMPONENTS_FACTORY_IMPL_H__ 82 #endif // CHROME_BROWSER_SYNC_PROFILE_SYNC_COMPONENTS_FACTORY_IMPL_H__
OLDNEW
« no previous file with comments | « chrome/browser/sync/profile_sync_components_factory.h ('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