Chromium Code Reviews| Index: chrome/browser/sync/syncable/autofill_migration.h |
| diff --git a/chrome/browser/sync/syncable/autofill_migration.h b/chrome/browser/sync/syncable/autofill_migration.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..d82da149a87073646a207d0fee3f22324041c134 |
| --- /dev/null |
| +++ b/chrome/browser/sync/syncable/autofill_migration.h |
| @@ -0,0 +1,33 @@ |
| +// Copyright (c) 2010 The Chromium Authors. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +#ifndef CHROME_BROWSER_SYNC_SYNCABLE_AUTOFILL_MIGRATION_H_ |
| +#define CHROME_BROWSER_SYNC_SYNCABLE_AUTOFILL_MIGRATION_H_ |
| +#pragma once |
| + |
| +namespace syncable { |
| +enum AutofillMigrationState { |
| + NOT_DETERMINED, |
| + NOT_MIGRATED, |
|
tim (not reviewing)
2010/12/13 19:24:33
comments for states
lipalani
2010/12/14 21:05:57
Done.
|
| + MIGRATED, |
| + INSUFFICIENT_INFO_TO_DETERMINE |
| +}; |
| + |
| +struct AutofillMigrationDebugInfo { |
| + enum PropertyToSet { |
| + MIGRATION_TIME, |
| + BOOKMARK_ADDED, |
| + ENTRIES_ADDED, |
| + PROFILES_ADDED |
| + }; |
| + int64 autofill_migration_time; |
| + int bookmarks_added_during_migration; |
| + int autofill_entries_added_during_migration; |
| + int autofill_profile_added_during_migration; |
| +}; |
| + |
| +} // namespace syncable |
| + |
| +#endif // CHROME_BROWSER_SYNC_SYNCABLE_AUTOFILL_MIGRATION_H_ |
| + |