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

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

Issue 166963002: TranslateManager is no longer a singleton (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@temp
Patch Set: Rebase + review comments Created 6 years, 10 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.cc
diff --git a/chrome/browser/translate/translate_service.cc b/chrome/browser/translate/translate_service.cc
index dcff02729df35813a214db2d3c8a5c242baf8de7..1d7cd0cc6bc0537cc56e0c194c92106aef2a4edf 100644
--- a/chrome/browser/translate/translate_service.cc
+++ b/chrome/browser/translate/translate_service.cc
@@ -29,8 +29,6 @@ void TranslateService::Initialize() {
g_translate_service = new TranslateService;
// Initialize the allowed state for resource requests.
g_translate_service->OnResourceRequestsAllowed();
- // Create the TranslateManager singleton.
- TranslateManager::GetInstance();
TranslateDownloadManager* download_manager =
TranslateDownloadManager::GetInstance();
download_manager->set_request_context(

Powered by Google App Engine
This is Rietveld 408576698