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

Side by Side Diff: components/browser_sync/browser/profile_sync_components_factory_impl.h

Issue 1966023002: [Sync] Move DataTypeErrorHandler to //sync. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Found an unsaved buffer :( Created 4 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
« no previous file with comments | « no previous file | components/browser_sync/browser/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 COMPONENTS_BROWSER_SYNC_BROWSER_PROFILE_SYNC_COMPONENTS_FACTORY_IMPL_H__ 5 #ifndef COMPONENTS_BROWSER_SYNC_BROWSER_PROFILE_SYNC_COMPONENTS_FACTORY_IMPL_H__
6 #define COMPONENTS_BROWSER_SYNC_BROWSER_PROFILE_SYNC_COMPONENTS_FACTORY_IMPL_H__ 6 #define COMPONENTS_BROWSER_SYNC_BROWSER_PROFILE_SYNC_COMPONENTS_FACTORY_IMPL_H__
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/command_line.h" 10 #include "base/command_line.h"
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 CreateLocalDeviceInfoProvider() override; 78 CreateLocalDeviceInfoProvider() override;
79 std::unique_ptr<syncer::AttachmentService> CreateAttachmentService( 79 std::unique_ptr<syncer::AttachmentService> CreateAttachmentService(
80 std::unique_ptr<syncer::AttachmentStoreForSync> attachment_store, 80 std::unique_ptr<syncer::AttachmentStoreForSync> attachment_store,
81 const syncer::UserShare& user_share, 81 const syncer::UserShare& user_share,
82 const std::string& store_birthday, 82 const std::string& store_birthday,
83 syncer::ModelType model_type, 83 syncer::ModelType model_type,
84 syncer::AttachmentService::Delegate* delegate) override; 84 syncer::AttachmentService::Delegate* delegate) override;
85 sync_driver::SyncApiComponentFactory::SyncComponents 85 sync_driver::SyncApiComponentFactory::SyncComponents
86 CreateBookmarkSyncComponents( 86 CreateBookmarkSyncComponents(
87 sync_driver::SyncService* sync_service, 87 sync_driver::SyncService* sync_service,
88 sync_driver::DataTypeErrorHandler* error_handler) override; 88 syncer::DataTypeErrorHandler* error_handler) override;
89 89
90 private: 90 private:
91 // Register data types which are enabled on both desktop and mobile. 91 // Register data types which are enabled on both desktop and mobile.
92 // |disabled_types| and |enabled_types| correspond only to those types 92 // |disabled_types| and |enabled_types| correspond only to those types
93 // being explicitly enabled/disabled by the command line. 93 // being explicitly enabled/disabled by the command line.
94 void RegisterCommonDataTypes(sync_driver::SyncService* sync_service, 94 void RegisterCommonDataTypes(sync_driver::SyncService* sync_service,
95 syncer::ModelTypeSet disabled_types, 95 syncer::ModelTypeSet disabled_types,
96 syncer::ModelTypeSet enabled_types); 96 syncer::ModelTypeSet enabled_types);
97 97
98 void DisableBrokenType(syncer::ModelType type, 98 void DisableBrokenType(syncer::ModelType type,
(...skipping 14 matching lines...) Expand all
113 net::URLRequestContextGetter* const url_request_context_getter_; 113 net::URLRequestContextGetter* const url_request_context_getter_;
114 const scoped_refptr<autofill::AutofillWebDataService> web_data_service_; 114 const scoped_refptr<autofill::AutofillWebDataService> web_data_service_;
115 const scoped_refptr<password_manager::PasswordStore> password_store_; 115 const scoped_refptr<password_manager::PasswordStore> password_store_;
116 116
117 base::WeakPtrFactory<ProfileSyncComponentsFactoryImpl> weak_factory_; 117 base::WeakPtrFactory<ProfileSyncComponentsFactoryImpl> weak_factory_;
118 118
119 DISALLOW_COPY_AND_ASSIGN(ProfileSyncComponentsFactoryImpl); 119 DISALLOW_COPY_AND_ASSIGN(ProfileSyncComponentsFactoryImpl);
120 }; 120 };
121 121
122 #endif // COMPONENTS_BROWSER_SYNC_BROWSER_PROFILE_SYNC_COMPONENTS_FACTORY_IMPL_ H__ 122 #endif // COMPONENTS_BROWSER_SYNC_BROWSER_PROFILE_SYNC_COMPONENTS_FACTORY_IMPL_ H__
OLDNEW
« no previous file with comments | « no previous file | components/browser_sync/browser/profile_sync_components_factory_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698