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

Unified Diff: components/translate/content/browser/content_translate_driver.h

Issue 2034413003: Delete the non-static CLD data source logic. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase to latest master Created 4 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: components/translate/content/browser/content_translate_driver.h
diff --git a/components/translate/content/browser/content_translate_driver.h b/components/translate/content/browser/content_translate_driver.h
index 8cd116e7c8677b6c12e7caab74a607ec29d2493a..685f8e61daadc6b5762f65103605a59ac2960c2d 100644
--- a/components/translate/content/browser/content_translate_driver.h
+++ b/components/translate/content/browser/content_translate_driver.h
@@ -21,7 +21,6 @@ namespace translate {
struct LanguageDetectionDetails;
class TranslateManager;
-class BrowserCldDataProvider;
// Content implementation of TranslateDriver.
@@ -116,9 +115,6 @@ class ContentTranslateDriver : public TranslateDriver,
// Max number of attempts before checking if a page has been reloaded.
int max_reload_check_attempts_;
- // Provides CLD data for this process.
- std::unique_ptr<translate::BrowserCldDataProvider> cld_data_provider_;
-
base::WeakPtrFactory<ContentTranslateDriver> weak_pointer_factory_;
DISALLOW_COPY_AND_ASSIGN(ContentTranslateDriver);

Powered by Google App Engine
This is Rietveld 408576698