Index: chrome/browser/translate/translate_manager.cc |
diff --git a/chrome/browser/translate/translate_manager.cc b/chrome/browser/translate/translate_manager.cc |
index c5d22acbc7e88eb62ddd65dde21f2d359ff2105b..c3f7829e85e0f12515cb6f08da7f335677247229 100644 |
--- a/chrome/browser/translate/translate_manager.cc |
+++ b/chrome/browser/translate/translate_manager.cc |
@@ -61,8 +61,6 @@ using content::NavigationController; |
using content::NavigationEntry; |
using content::WebContents; |
-namespace { |
- |
const char kReportLanguageDetectionErrorURL[] = |
"https://translate.google.com/translate_error?client=cr&action=langidc"; |
@@ -73,16 +71,10 @@ const char kSourceLanguageQueryName[] = "sl"; |
// Used in kReportLanguageDetectionErrorURL to specify the page URL. |
const char kUrlQueryName[] = "u"; |
-// The delay in ms that we'll wait to check if a page has finished loading |
-// before attempting a translation. |
-const int kTranslateLoadCheckDelayMs = 150; |
- |
// The maximum number of attempts we'll do to see if the page has finshed |
// loading before giving up the translation |
const int kMaxTranslateLoadCheckAttempts = 20; |
-} // namespace |
- |
TranslateManager::~TranslateManager() { |
weak_method_factory_.InvalidateWeakPtrs(); |
} |