Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1459)

Unified Diff: third_party/libaddressinput/chromium/chrome_storage_impl.h

Issue 148463003: libaddressinput - reduce number of copies in storage class by 2 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/libaddressinput/chromium/chrome_storage_impl.h
diff --git a/third_party/libaddressinput/chromium/chrome_storage_impl.h b/third_party/libaddressinput/chromium/chrome_storage_impl.h
index 11da9486eae728975e3c142ea7e0ec1007494fdc..21f98232b2a2009ab106258431fa0eb68e442951 100644
--- a/third_party/libaddressinput/chromium/chrome_storage_impl.h
+++ b/third_party/libaddressinput/chromium/chrome_storage_impl.h
@@ -26,7 +26,8 @@ class ChromeStorageImpl : public i18n::addressinput::Storage,
virtual ~ChromeStorageImpl();
// i18n::addressinput::Storage implementation.
- virtual void Put(const std::string& key, const std::string& data) OVERRIDE;
+ virtual void Put(const std::string& key, scoped_ptr<std::string> data)
+ OVERRIDE;
virtual void Get(const std::string& key, scoped_ptr<Callback> data_ready)
const OVERRIDE;

Powered by Google App Engine
This is Rietveld 408576698