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

Unified Diff: components/autofill/core/browser/webdata/autofill_profile_syncable_service.cc

Issue 129463002: Move AutofillProfileSyncableService into the Autofill component. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Propagate define Created 6 years, 11 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: components/autofill/core/browser/webdata/autofill_profile_syncable_service.cc
diff --git a/chrome/browser/webdata/autofill_profile_syncable_service.cc b/components/autofill/core/browser/webdata/autofill_profile_syncable_service.cc
similarity index 98%
rename from chrome/browser/webdata/autofill_profile_syncable_service.cc
rename to components/autofill/core/browser/webdata/autofill_profile_syncable_service.cc
index e9ea5c76527b909d253eee5e9071c3c8bc33c1cf..73ea922766fdedfa27c03765cbec4f7dc8570768 100644
--- a/chrome/browser/webdata/autofill_profile_syncable_service.cc
+++ b/components/autofill/core/browser/webdata/autofill_profile_syncable_service.cc
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "chrome/browser/webdata/autofill_profile_syncable_service.h"
+#include "components/autofill/core/browser/webdata/autofill_profile_syncable_service.h"
#include "base/guid.h"
#include "base/location.h"
@@ -14,7 +14,6 @@
#include "components/autofill/core/browser/webdata/autofill_table.h"
#include "components/autofill/core/browser/webdata/autofill_webdata_service.h"
#include "components/webdata/common/web_database.h"
-#include "content/public/browser/browser_thread.h"
#include "sync/api/sync_error.h"
#include "sync/api/sync_error_factory.h"
#include "sync/protocol/sync.pb.h"
@@ -22,7 +21,6 @@
using base::ASCIIToUTF16;
using base::UTF8ToUTF16;
using base::UTF16ToUTF8;
-using content::BrowserThread;
namespace autofill {
@@ -52,7 +50,6 @@ AutofillProfileSyncableService::AutofillProfileSyncableService(
: webdata_backend_(webdata_backend),
app_locale_(app_locale),
scoped_observer_(this) {
- DCHECK(BrowserThread::CurrentlyOn(BrowserThread::DB));
DCHECK(webdata_backend_);
scoped_observer_.Add(webdata_backend_);
@@ -83,7 +80,6 @@ AutofillProfileSyncableService::FromWebDataService(
AutofillProfileSyncableService::AutofillProfileSyncableService()
: webdata_backend_(NULL),
scoped_observer_(this) {
- DCHECK(BrowserThread::CurrentlyOn(BrowserThread::DB));
}
syncer::SyncMergeResult

Powered by Google App Engine
This is Rietveld 408576698