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

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

Issue 986743004: [Sync] Refactor AttachmentStore classes. Introduce concept of referrer. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 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
« no previous file with comments | « no previous file | chrome/browser/sync/profile_sync_components_factory_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 invalidation::InvalidationService* invalidator, 59 invalidation::InvalidationService* invalidator,
60 const base::WeakPtr<sync_driver::SyncPrefs>& sync_prefs, 60 const base::WeakPtr<sync_driver::SyncPrefs>& sync_prefs,
61 const base::FilePath& sync_folder) override; 61 const base::FilePath& sync_folder) override;
62 62
63 scoped_ptr<sync_driver::LocalDeviceInfoProvider> 63 scoped_ptr<sync_driver::LocalDeviceInfoProvider>
64 CreateLocalDeviceInfoProvider() override; 64 CreateLocalDeviceInfoProvider() override;
65 65
66 base::WeakPtr<syncer::SyncableService> GetSyncableServiceForType( 66 base::WeakPtr<syncer::SyncableService> GetSyncableServiceForType(
67 syncer::ModelType type) override; 67 syncer::ModelType type) override;
68 scoped_ptr<syncer::AttachmentService> CreateAttachmentService( 68 scoped_ptr<syncer::AttachmentService> CreateAttachmentService(
69 const scoped_refptr<syncer::AttachmentStore>& attachment_store, 69 scoped_ptr<syncer::AttachmentStore> attachment_store,
70 const syncer::UserShare& user_share, 70 const syncer::UserShare& user_share,
71 const std::string& store_birthday, 71 const std::string& store_birthday,
72 syncer::ModelType model_type, 72 syncer::ModelType model_type,
73 syncer::AttachmentService::Delegate* delegate) override; 73 syncer::AttachmentService::Delegate* delegate) override;
74 74
75 // Legacy datatypes that need to be converted to the SyncableService API. 75 // Legacy datatypes that need to be converted to the SyncableService API.
76 SyncComponents CreateBookmarkSyncComponents( 76 SyncComponents CreateBookmarkSyncComponents(
77 ProfileSyncService* profile_sync_service, 77 ProfileSyncService* profile_sync_service,
78 sync_driver::DataTypeErrorHandler* error_handler) override; 78 sync_driver::DataTypeErrorHandler* error_handler) override;
79 SyncComponents CreateTypedUrlSyncComponents( 79 SyncComponents CreateTypedUrlSyncComponents(
(...skipping 29 matching lines...) Expand all
109 const GURL sync_service_url_; 109 const GURL sync_service_url_;
110 OAuth2TokenService* const token_service_; 110 OAuth2TokenService* const token_service_;
111 net::URLRequestContextGetter* const url_request_context_getter_; 111 net::URLRequestContextGetter* const url_request_context_getter_;
112 112
113 base::WeakPtrFactory<ProfileSyncComponentsFactoryImpl> weak_factory_; 113 base::WeakPtrFactory<ProfileSyncComponentsFactoryImpl> weak_factory_;
114 114
115 DISALLOW_COPY_AND_ASSIGN(ProfileSyncComponentsFactoryImpl); 115 DISALLOW_COPY_AND_ASSIGN(ProfileSyncComponentsFactoryImpl);
116 }; 116 };
117 117
118 #endif // CHROME_BROWSER_SYNC_PROFILE_SYNC_COMPONENTS_FACTORY_IMPL_H__ 118 #endif // CHROME_BROWSER_SYNC_PROFILE_SYNC_COMPONENTS_FACTORY_IMPL_H__
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/sync/profile_sync_components_factory_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698