OLD | NEW |
| (Empty) |
1 // Copyright 2015 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 ANDROID_WEBVIEW_BROWSER_AW_LOCALE_MANAGER_H_ | |
6 #define ANDROID_WEBVIEW_BROWSER_AW_LOCALE_MANAGER_H_ | |
7 | |
8 #include <string> | |
9 | |
10 #include "base/macros.h" | |
11 | |
12 namespace android_webview { | |
13 | |
14 // Empty base class so this can be destroyed by AwContentBrowserClient. | |
15 class AwLocaleManager { | |
16 public: | |
17 AwLocaleManager() {} | |
18 virtual ~AwLocaleManager() {} | |
19 | |
20 virtual std::string GetLocale() = 0; | |
21 | |
22 virtual std::string GetLocaleList() = 0; | |
23 | |
24 private: | |
25 DISALLOW_COPY_AND_ASSIGN(AwLocaleManager); | |
26 }; | |
27 | |
28 } // namespace android_webview | |
29 | |
30 #endif // ANDROID_WEBVIEW_BROWSER_AW_LOCALE_MANAGER_H_ | |
OLD | NEW |