| 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..7f23f17df63e9f4ddc191743ae913471cc31ab31
|
| --- /dev/null
|
| +++ b/chrome/browser/translate/translate_service.h
|
| @@ -0,0 +1,20 @@
|
| +// 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_
|
| +
|
| +// Singleton managing the resources required for Translate.
|
| +class TranslateService {
|
| + public:
|
| +
|
| + // Must be called before the Translate feature can be used.
|
| + static void Initialize();
|
| +
|
| + // Must be called to shut down the Translate feature.
|
| + // |cleanup_pending_fetcher_for_testing| can only be true in tests.
|
| + static void Shutdown(bool cleanup_pending_fetcher_for_testing);
|
| +};
|
| +
|
| +#endif // CHROME_BROWSER_TRANSLATE_TRANSLATE_SERVICE_H_
|
|
|