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

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

Issue 7967024: Profile shouldn't own PersonalDataManager (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 3 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/autofill_model_associator.h
diff --git a/chrome/browser/sync/glue/autofill_model_associator.h b/chrome/browser/sync/glue/autofill_model_associator.h
index 1de78481ffb5607cd8b6fb1c19ba219e0720e06b..cdc08ec4e396ed593bf2dcf37003f3ee142f0447 100644
--- a/chrome/browser/sync/glue/autofill_model_associator.h
+++ b/chrome/browser/sync/glue/autofill_model_associator.h
@@ -12,15 +12,14 @@
#include <vector>
#include "base/basictypes.h"
-#include "base/memory/ref_counted.h"
#include "base/synchronization/lock.h"
-#include "chrome/browser/autofill/personal_data_manager.h"
#include "chrome/browser/sync/glue/model_associator.h"
#include "chrome/browser/sync/protocol/autofill_specifics.pb.h"
#include "chrome/browser/webdata/autofill_entry.h"
class AutofillProfile;
+class Profile;
class ProfileSyncService;
class WebDatabase;
@@ -48,7 +47,7 @@ class AutofillModelAssociator
static syncable::ModelType model_type() { return syncable::AUTOFILL; }
AutofillModelAssociator(ProfileSyncService* sync_service,
WebDatabase* web_database,
- PersonalDataManager* data_manager);
+ Profile* profile);
virtual ~AutofillModelAssociator();
// PerDataTypeAssociatorInterface implementation.
@@ -168,7 +167,7 @@ class AutofillModelAssociator
ProfileSyncService* sync_service_;
WebDatabase* web_database_;
- PersonalDataManager* personal_data_;
+ Profile* profile_;
int64 autofill_node_id_;
AutofillToSyncIdMap id_map_;

Powered by Google App Engine
This is Rietveld 408576698