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

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

Issue 1543533002: Restore non-static CLD data functionality. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 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
« no previous file with comments | « no previous file | chrome/browser/translate/chrome_translate_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/translate/chrome_translate_client.h
diff --git a/chrome/browser/translate/chrome_translate_client.h b/chrome/browser/translate/chrome_translate_client.h
index ee7ad9772e18949984a2c5755ba240906dbc24b6..2bf67d0d77995161f3f997894688ea7317f1c8a4 100644
--- a/chrome/browser/translate/chrome_translate_client.h
+++ b/chrome/browser/translate/chrome_translate_client.h
@@ -10,7 +10,6 @@
#include "base/macros.h"
#include "base/memory/scoped_ptr.h"
#include "chrome/browser/ui/translate/translate_bubble_model.h"
-#include "components/translate/content/browser/browser_cld_data_provider.h"
#include "components/translate/content/browser/content_translate_driver.h"
#include "components/translate/core/browser/translate_client.h"
#include "components/translate/core/browser/translate_step.h"
@@ -109,7 +108,6 @@ class ChromeTranslateClient
friend class content::WebContentsUserData<ChromeTranslateClient>;
// content::WebContentsObserver implementation.
- bool OnMessageReceived(const IPC::Message& message) override;
void WebContentsDestroyed() override;
// Shows the translate bubble.
@@ -119,9 +117,6 @@ class ChromeTranslateClient
translate::ContentTranslateDriver translate_driver_;
scoped_ptr<translate::TranslateManager> translate_manager_;
- // Provides CLD data for this process.
- scoped_ptr<translate::BrowserCldDataProvider> cld_data_provider_;
-
DISALLOW_COPY_AND_ASSIGN(ChromeTranslateClient);
};
« no previous file with comments | « no previous file | chrome/browser/translate/chrome_translate_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698