Index: chrome/browser/sync/glue/autofill_model_associator.h |
diff --git a/chrome/browser/sync/glue/autofill_model_associator.h b/chrome/browser/sync/glue/autofill_model_associator.h |
index ee81ed0276041d4dd1b87dac982b453a0b3d72b2..63db0e888bb93f9532820cced8c5c6eac8032c25 100644 |
--- a/chrome/browser/sync/glue/autofill_model_associator.h |
+++ b/chrome/browser/sync/glue/autofill_model_associator.h |
@@ -82,12 +82,12 @@ class AutofillModelAssociator |
virtual const std::string* GetChromeNodeFromSyncId(int64 sync_id); |
// Not implemented. |
- virtual bool InitSyncNodeFromChromeId(std::string node_id, |
+ virtual bool InitSyncNodeFromChromeId(const std::string& node_id, |
sync_api::BaseNode* sync_node); |
// Returns the sync id for the given autofill name, or sync_api::kInvalidId |
// if the autofill 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 autofill name with the given sync id. |
virtual void Associate(const std::string* node, int64 sync_id); |