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

Unified Diff: chrome/browser/translate/translate_url_fetcher.h

Issue 15949022: Translate: language list smart updater (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: disable network update on mac infobar tests Created 7 years, 6 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: chrome/browser/translate/translate_url_fetcher.h
diff --git a/chrome/browser/translate/translate_url_fetcher.h b/chrome/browser/translate/translate_url_fetcher.h
index 6654ab87bba560ad329e8b842c8e4874abe1f2f4..7124f0bee6021cffcd43cd9ff803cc5c418ce97e 100644
--- a/chrome/browser/translate/translate_url_fetcher.h
+++ b/chrome/browser/translate/translate_url_fetcher.h
@@ -55,6 +55,9 @@ class TranslateURLFetcher : public net::URLFetcherDelegate {
// fetch operation is finished.
Callback callback_;
+ // Counts how many times did it try to fetch the language list.
+ int retry_count_;
+
DISALLOW_COPY_AND_ASSIGN(TranslateURLFetcher);
};
« no previous file with comments | « chrome/browser/translate/translate_manager_browsertest.cc ('k') | chrome/browser/translate/translate_url_fetcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698