| Index: chrome/browser/sync/glue/password_model_associator.h
|
| diff --git a/chrome/browser/sync/glue/password_model_associator.h b/chrome/browser/sync/glue/password_model_associator.h
|
| index 04efc4949896147452cde7f4225ecd66cd6522d1..c356a6395dbae4ed14adf21d176756e66622f527 100644
|
| --- a/chrome/browser/sync/glue/password_model_associator.h
|
| +++ b/chrome/browser/sync/glue/password_model_associator.h
|
| @@ -11,6 +11,7 @@
|
| #include <vector>
|
|
|
| #include "base/basictypes.h"
|
| +#include "base/compiler_specific.h"
|
| #include "base/synchronization/lock.h"
|
| #include "base/task.h"
|
| #include "chrome/browser/history/history_types.h"
|
| @@ -52,40 +53,40 @@ class PasswordModelAssociator
|
| // PerDataTypeAssociatorInterface implementation.
|
| //
|
| // Iterates through the sync model looking for matched pairs of items.
|
| - virtual bool AssociateModels(SyncError* error);
|
| + virtual bool AssociateModels(SyncError* error) OVERRIDE;
|
|
|
| // Delete all password nodes.
|
| bool DeleteAllNodes(sync_api::WriteTransaction* trans);
|
|
|
| // Clears all associations.
|
| - virtual bool DisassociateModels(SyncError* error);
|
| + virtual bool DisassociateModels(SyncError* error) OVERRIDE;
|
|
|
| // The has_nodes out param is true if the sync model has nodes other
|
| // than the permanent tagged nodes.
|
| - virtual bool SyncModelHasUserCreatedNodes(bool* has_nodes);
|
| + virtual bool SyncModelHasUserCreatedNodes(bool* has_nodes) OVERRIDE;
|
|
|
| // See ModelAssociator interface.
|
| - virtual void AbortAssociation();
|
| + virtual void AbortAssociation() OVERRIDE;
|
|
|
| // See ModelAssociator interface.
|
| - virtual bool CryptoReadyIfNecessary();
|
| + virtual bool CryptoReadyIfNecessary() OVERRIDE;
|
|
|
| // Not implemented.
|
| - virtual const std::string* GetChromeNodeFromSyncId(int64 sync_id);
|
| + virtual const std::string* GetChromeNodeFromSyncId(int64 sync_id) OVERRIDE;
|
|
|
| // Not implemented.
|
| virtual bool InitSyncNodeFromChromeId(const std::string& node_id,
|
| - sync_api::BaseNode* sync_node);
|
| + sync_api::BaseNode* sync_node) OVERRIDE;
|
|
|
| // Returns the sync id for the given password name, or sync_api::kInvalidId
|
| // if the password name is not associated to any sync id.
|
| - virtual int64 GetSyncIdFromChromeId(const std::string& node_id);
|
| + virtual int64 GetSyncIdFromChromeId(const std::string& node_id) OVERRIDE;
|
|
|
| // Associates the given password name with the given sync id.
|
| - virtual void Associate(const std::string* node, int64 sync_id);
|
| + virtual void Associate(const std::string* node, int64 sync_id) OVERRIDE;
|
|
|
| // Remove the association that corresponds to the given sync id.
|
| - virtual void Disassociate(int64 sync_id);
|
| + virtual void Disassociate(int64 sync_id) OVERRIDE;
|
|
|
| // Returns whether a node with the given permanent tag was found and update
|
| // |sync_id| with that node's id.
|
|
|