Index: third_party/libaddressinput/chromium/cpp/test/fake_storage.h |
diff --git a/third_party/libaddressinput/chromium/cpp/test/fake_storage.h b/third_party/libaddressinput/chromium/cpp/test/fake_storage.h |
index 1987a2d2d19ec728d8a8d00e257a07a183a27d1b..bafb9a240e2675d787f49ec15284762f7b076451 100644 |
--- a/third_party/libaddressinput/chromium/cpp/test/fake_storage.h |
+++ b/third_party/libaddressinput/chromium/cpp/test/fake_storage.h |
@@ -34,7 +34,7 @@ namespace addressinput { |
// ~MyClass() {} |
// |
// void Write() { |
-// storage_.Put("key", "value"); |
+// storage_.Put("key", make_scoped_ptr(new std::string("value"))); |
// } |
// |
// void Read() { |
@@ -58,7 +58,7 @@ class FakeStorage : public Storage { |
virtual ~FakeStorage(); |
// Storage implementation. |
- virtual void Put(const std::string& key, const std::string& data); |
+ virtual void Put(const std::string& key, scoped_ptr<std::string> data); |
virtual void Get(const std::string& key, scoped_ptr<Callback> data_ready) |
const; |