Chromium Code Reviews| OLD | NEW |
|---|---|
| (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 // Manages the resoureces required for Translate. | |
|
blundell
2014/01/24 17:52:43
resources
Mention here that it's a singleton?
droger
2014/01/27 14:13:43
This is not a singleton so far (it's just a couple
| |
| 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 shutdown the Translate feature. | |
|
blundell
2014/01/24 17:52:43
shut down
| |
| 16 static void Shutdown(bool cleanup_pending_fetcher); | |
| 17 }; | |
| 18 | |
| 19 #endif // CHROME_BROWSER_TRANSLATE_TRANSLATE_SERVICE_H_ | |
| OLD | NEW |