summaryrefslogtreecommitdiffstats
path: root/chrome/browser/sync/test_profile_sync_service.h
diff options
context:
space:
mode:
authorlipalani@chromium.org <lipalani@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-01-05 02:54:41 +0000
committerlipalani@chromium.org <lipalani@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-01-05 02:54:41 +0000
commit269bb3a69e402a893bc8d01a99347c7ef6a5a38a (patch)
treeab764783fbb23ac416a0430230314b83d4aa00b9 /chrome/browser/sync/test_profile_sync_service.h
parent43306287cf8a64bde0fd6d85f6e40e2baa4f149b (diff)
downloadchromium_src-269bb3a69e402a893bc8d01a99347c7ef6a5a38a.zip
chromium_src-269bb3a69e402a893bc8d01a99347c7ef6a5a38a.tar.gz
chromium_src-269bb3a69e402a893bc8d01a99347c7ef6a5a38a.tar.bz2
Fixing the autofill unit tests.
BUG= TEST= Review URL: http://codereview.chromium.org/6085004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@70480 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/sync/test_profile_sync_service.h')
-rw-r--r--chrome/browser/sync/test_profile_sync_service.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/chrome/browser/sync/test_profile_sync_service.h b/chrome/browser/sync/test_profile_sync_service.h
index f5da3d6..2615b24 100644
--- a/chrome/browser/sync/test_profile_sync_service.h
+++ b/chrome/browser/sync/test_profile_sync_service.h
@@ -112,6 +112,12 @@ class SyncBackendHostForProfileSyncTest : public SyncBackendHost {
}
}
+ virtual void ConfigureDataTypes(const syncable::ModelTypeSet& types,
+ CancelableTask* ready_task) {
+ SetAutofillMigrationState(syncable::MIGRATED);
+ SyncBackendHost::ConfigureDataTypes(types, ready_task);
+ }
+
virtual void HandleInitializationCompletedOnFrontendLoop() {
set_syncapi_initialized(); // Need to do this asap so task below works.