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

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

Issue 137563004: libaddressinput: Add fallback data for US address validation. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: another merge 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.h
diff --git a/third_party/libaddressinput/chromium/cpp/src/retriever.h b/third_party/libaddressinput/chromium/cpp/src/retriever.h
index 3cbdbad8a3db9533ed8a987584d44d737d01e4eb..4797095409a4c15d31a9213470ca48ed74b418ab 100644
--- a/third_party/libaddressinput/chromium/cpp/src/retriever.h
+++ b/third_party/libaddressinput/chromium/cpp/src/retriever.h
@@ -30,7 +30,7 @@ namespace addressinput {
class Downloader;
class Storage;
-// Retrieves data. Sample usage:
+// Manages downloading data and caching it locally. Sample usage:
// Storage* storage = ...;
// Downloader* downloader = ...;
// Retriever retriever("https://i18napis.appspot.com/ssl-address/",
@@ -57,12 +57,12 @@ class Retriever {
// Callback for when a rule is retrieved from |storage_|.
void OnDataRetrievedFromStorage(bool success,
const std::string& key,
- const std::string& data);
+ const std::string& stored_data);
// Callback for when a rule is retrieved by |downloader_|.
void OnDownloaded(bool success,
const std::string& url,
- const std::string& data);
+ const std::string& downloaded_data);
// Returns the URL where the |key| can be retrieved. For example, returns
// "https://i18napis.appspot.com/ssl-address/data/US" for input "data/US".

Powered by Google App Engine
This is Rietveld 408576698