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

Unified Diff: chrome/browser/sync/glue/ui_data_type_controller.h

Issue 317453002: sync: cut a few profile deps from DataTypeControllers. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: move OnUserShareReady Created 6 years, 6 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/sync/glue/ui_data_type_controller.h
diff --git a/chrome/browser/sync/glue/ui_data_type_controller.h b/chrome/browser/sync/glue/ui_data_type_controller.h
index 256a7e1e33a93d0fa17981b5ae3fbab605103a78..6a8d7ce45e2b0a9e3f7b386c6144f7277310e39e 100644
--- a/chrome/browser/sync/glue/ui_data_type_controller.h
+++ b/chrome/browser/sync/glue/ui_data_type_controller.h
@@ -14,9 +14,7 @@
#include "components/sync_driver/data_type_controller.h"
#include "components/sync_driver/shared_change_processor.h"
-class Profile;
class ProfileSyncService;
-class ProfileSyncComponentsFactory;
namespace base {
class TimeDelta;
@@ -39,8 +37,7 @@ class UIDataTypeController : public DataTypeController {
scoped_refptr<base::MessageLoopProxy> ui_thread,
const base::Closure& error_callback,
syncer::ModelType type,
- ProfileSyncComponentsFactory* profile_sync_factory,
- Profile* profile,
+ SyncApiComponentFactory* sync_factory,
ProfileSyncService* sync_service);
// DataTypeController interface.
@@ -95,8 +92,7 @@ class UIDataTypeController : public DataTypeController {
// Record causes of start failure.
virtual void RecordStartFailure(StartResult result);
- ProfileSyncComponentsFactory* const profile_sync_factory_;
- Profile* const profile_;
+ SyncApiComponentFactory* const sync_factory_;
ProfileSyncService* const sync_service_;
State state_;
« no previous file with comments | « chrome/browser/sync/glue/theme_data_type_controller.cc ('k') | chrome/browser/sync/glue/ui_data_type_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698