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

Unified Diff: chrome/browser/webdata/autofill_profile_syncable_service.cc

Issue 8184001: The AutofillProfileSyncableService's lifetime should be managed by the WebDataService (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix compile after http://crrev.com/104990 Created 9 years, 2 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/webdata/autofill_profile_syncable_service.cc
diff --git a/chrome/browser/webdata/autofill_profile_syncable_service.cc b/chrome/browser/webdata/autofill_profile_syncable_service.cc
index 8dfe601835af5a1ebc8b013586b140fcc3a19a2e..75db0fdda67f7b358c0728b8290bbd32833add39 100644
--- a/chrome/browser/webdata/autofill_profile_syncable_service.cc
+++ b/chrome/browser/webdata/autofill_profile_syncable_service.cc
@@ -34,8 +34,6 @@ bool MergeField(FormGroup* form_group,
} // namespace
-namespace browser_sync {
-
const char kAutofillProfileTag[] = "google_chrome_autofill_profiles";
AutofillProfileSyncableService::AutofillProfileSyncableService(
@@ -56,6 +54,7 @@ AutofillProfileSyncableService::~AutofillProfileSyncableService() {
AutofillProfileSyncableService::AutofillProfileSyncableService()
: web_data_service_(NULL),
sync_processor_(NULL) {
+ DCHECK(BrowserThread::CurrentlyOn(BrowserThread::DB));
}
SyncError AutofillProfileSyncableService::MergeDataAndStartSyncing(
@@ -408,5 +407,3 @@ AutofillProfileSyncableService::DataBundle::DataBundle() {}
AutofillProfileSyncableService::DataBundle::~DataBundle() {
}
-
-} // namespace browser_sync

Powered by Google App Engine
This is Rietveld 408576698