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

Side by Side Diff: chrome/browser/translate/translate_service.h

Issue 145023015: Introduce TranslateService and TranslateDownloadManager (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef CHROME_BROWSER_TRANSLATE_TRANSLATE_SERVICE_H_
6 #define CHROME_BROWSER_TRANSLATE_TRANSLATE_SERVICE_H_
7
8 // Singleton managing the resources required for Translate.
9 class TranslateService {
10 public:
11
12 // Must be called before the Translate feature can be used.
13 static void Initialize();
14
15 // Must be called to shut down the Translate feature.
16 // |cleanup_pending_fetcher_for_testing| can only be true in tests.
17 static void Shutdown(bool cleanup_pending_fetcher_for_testing);
18 };
19
20 #endif // CHROME_BROWSER_TRANSLATE_TRANSLATE_SERVICE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698