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

Unified Diff: chrome/browser/sync/syncable/autofill_migration.h

Issue 5159001: Rest of the autofill work. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Couple of lint errors sneaked into my previous patch. This is clean of lint errors. Created 10 years 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/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_
+

Powered by Google App Engine
This is Rietveld 408576698