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

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

Issue 325483003: Remove unused Views Translate InfoBar code. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Sync and rebase Created 6 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_service.h
diff --git a/chrome/browser/translate/translate_service.h b/chrome/browser/translate/translate_service.h
index c92e7cb337bf8b1d2ce9477e34d62757c89a7723..90b266d3d154bb028e3a8688ee57a003d3f99e9f 100644
--- a/chrome/browser/translate/translate_service.h
+++ b/chrome/browser/translate/translate_service.h
@@ -36,10 +36,6 @@ class TranslateService : public ResourceRequestAllowedNotifier::Observer {
// Returns true if the new translate bubble is enabled.
static bool IsTranslateBubbleEnabled();
- // Sets whether of not the infobar UI is used. This method is intended to be
- // used only for tests.
- static void SetUseInfobar(bool value);
-
// Returns the language to translate to. The language returned is the
// first language found in the following list that is supported by the
// translation service:
@@ -60,10 +56,6 @@ class TranslateService : public ResourceRequestAllowedNotifier::Observer {
// Helper class to know if it's allowed to make network resource requests.
ResourceRequestAllowedNotifier resource_request_allowed_notifier_;
-
- // Whether or not the infobar is used. This is intended to be used
- // only for testing.
- bool use_infobar_;
};
#endif // CHROME_BROWSER_TRANSLATE_TRANSLATE_SERVICE_H_
« no previous file with comments | « chrome/browser/translate/translate_manager_render_view_host_unittest.cc ('k') | chrome/browser/translate/translate_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698