Chromium Code Reviews| Index: chrome/browser/translate/translate_service.h |
| diff --git a/chrome/browser/translate/translate_service.h b/chrome/browser/translate/translate_service.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..30c15f722087b453a7823a9b7182fe916be633fb |
| --- /dev/null |
| +++ b/chrome/browser/translate/translate_service.h |
| @@ -0,0 +1,19 @@ |
| +// Copyright 2014 The Chromium Authors. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +#ifndef CHROME_BROWSER_TRANSLATE_TRANSLATE_SERVICE_H_ |
| +#define CHROME_BROWSER_TRANSLATE_TRANSLATE_SERVICE_H_ |
| + |
| +// 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
|
| +class TranslateService { |
| + public: |
| + |
| + // Must be called before the Translate feature can be used. |
| + static void Initialize(); |
| + |
| + // Must be called to shutdown the Translate feature. |
|
blundell
2014/01/24 17:52:43
shut down
|
| + static void Shutdown(bool cleanup_pending_fetcher); |
| +}; |
| + |
| +#endif // CHROME_BROWSER_TRANSLATE_TRANSLATE_SERVICE_H_ |