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 4749ee5146fad6c5bb805f9dfdeaa006451e26ae..517f972c83c508344c38a54bef110d07021b9bbe 100644 |
--- a/third_party/libaddressinput/chromium/cpp/src/retriever.h |
+++ b/third_party/libaddressinput/chromium/cpp/src/retriever.h |
@@ -32,7 +32,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); |
// Looks up the callback for |key| in |requests_|, removes it from the map |
// and returns it. Assumes that |key| is in fact in |requests_|. |