Chromium Code Reviews| Index: chrome/browser/sync/engine/syncapi.h |
| diff --git a/chrome/browser/sync/engine/syncapi.h b/chrome/browser/sync/engine/syncapi.h |
| index 2019f410b321ec4187f1f5a4da2120f9e4e61d28..456e726a9ebae175918b76152454ed1b39f20eb0 100644 |
| --- a/chrome/browser/sync/engine/syncapi.h |
| +++ b/chrome/browser/sync/engine/syncapi.h |
| @@ -47,6 +47,7 @@ |
| #include "base/scoped_ptr.h" |
| #include "build/build_config.h" |
| #include "chrome/browser/sync/protocol/password_specifics.pb.h" |
| +#include "chrome/browser/sync/syncable/autofill_migration.h" |
| #include "chrome/browser/sync/syncable/model_type.h" |
| #include "chrome/browser/sync/util/cryptographer.h" |
| #include "chrome/common/net/gaia/google_service_auth_error.h" |
| @@ -70,6 +71,7 @@ struct NotifierOptions; |
| // may have opaque pointers to these types. |
| namespace syncable { |
| class BaseTransaction; |
| +class Directory; |
|
tim (not reviewing)
2010/12/14 21:46:43
was in previous review, still here
lipalani
2010/12/15 09:08:33
Done.
|
| class DirectoryManager; |
| class Entry; |
| class MutableEntry; |
| @@ -347,6 +349,9 @@ class WriteNode : public BaseNode { |
| // Should only be called if GetModelType() == AUTOFILL. |
| void SetAutofillSpecifics(const sync_pb::AutofillSpecifics& specifics); |
| + void SetAutofillProfileSpecifics( |
| + const sync_pb::AutofillProfileSpecifics& specifics); |
| + |
| // Set the nigori specifics. |
| // Should only be called if GetModelType() == NIGORI. |
| void SetNigoriSpecifics(const sync_pb::NigoriSpecifics& specifics); |
| @@ -398,6 +403,8 @@ class WriteNode : public BaseNode { |
| const sync_pb::AppSpecifics& new_value); |
| void PutAutofillSpecificsAndMarkForSyncing( |
| const sync_pb::AutofillSpecifics& new_value); |
| + void PutAutofillProfileSpecificsAndMarkForSyncing( |
| + const sync_pb::AutofillProfileSpecifics& new_value); |
| void PutBookmarkSpecificsAndMarkForSyncing( |
| const sync_pb::BookmarkSpecifics& new_value); |
| void PutNigoriSpecificsAndMarkForSyncing( |
| @@ -817,6 +824,19 @@ class SyncManager { |
| // called. |
| bool InitialSyncEndedForAllEnabledTypes(); |
| + syncable::AutofillMigrationState |
| + GetAutofillMigrationState(); |
|
tim (not reviewing)
2010/12/14 21:46:43
indent.
lipalani
2010/12/15 09:08:33
Done.
|
| + |
| + void SetAutofillMigrationState( |
| + syncable::AutofillMigrationState state); |
|
tim (not reviewing)
2010/12/14 21:46:43
indent.
lipalani
2010/12/15 09:08:33
Done.
|
| + |
| + syncable::AutofillMigrationDebugInfo |
| + GetAutofillMigrationDebugInfo(); |
| + |
| + void SetAutofillMigrationDebugInfo( |
| + syncable::AutofillMigrationDebugInfo::PropertyToSet property_to_set, |
| + const syncable::AutofillMigrationDebugInfo& info); |
| + |
| // Migrate tokens from user settings DB to the token service. |
| void MigrateTokens(); |