| 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 // 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_ |
| OLD | NEW |