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

Unified Diff: third_party/libaddressinput/chromium/cpp/src/retriever.cc

Issue 145553009: rAc: use libaddressinput to validate international addresses. (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/cpp/src/retriever.cc
diff --git a/third_party/libaddressinput/chromium/cpp/src/retriever.cc b/third_party/libaddressinput/chromium/cpp/src/retriever.cc
index 7e0da10aba2692604a65f6c4fe923d59f7a1aeb8..0818606e234a8993fb5b42fb5960b424f6fee308 100644
--- a/third_party/libaddressinput/chromium/cpp/src/retriever.cc
+++ b/third_party/libaddressinput/chromium/cpp/src/retriever.cc
@@ -152,10 +152,10 @@ bool VerifyAndExtractTimestamp(const std::string& data_and_footer,
Retriever::Retriever(const std::string& validation_data_url,
scoped_ptr<Downloader> downloader,
- scoped_ptr<Storage> storage)
+ Storage* storage)
: validation_data_url_(validation_data_url),
downloader_(downloader.Pass()),
- storage_(storage.Pass()),
+ storage_(storage),
stale_data_() {
assert(validation_data_url_.length() > 0);
assert(validation_data_url_[validation_data_url_.length() - 1] == '/');

Powered by Google App Engine
This is Rietveld 408576698