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 22c81bab639780a6805c1920e5cf50e72d1bda71..5cf55999a27e33727dc154f70ed8be9e52c0791f 100644 |
--- a/chrome/browser/sync/glue/password_model_associator.h |
+++ b/chrome/browser/sync/glue/password_model_associator.h |
@@ -78,14 +78,14 @@ class PasswordModelAssociator |
} |
// Not implemented. |
- virtual bool InitSyncNodeFromChromeId(std::string node_id, |
+ virtual bool InitSyncNodeFromChromeId(const std::string& node_id, |
sync_api::BaseNode* sync_node) { |
return false; |
} |
// 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(std::string node_id); |
+ virtual int64 GetSyncIdFromChromeId(const std::string& node_id); |
// Associates the given password name with the given sync id. |
virtual void Associate(const std::string* node, int64 sync_id); |