Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1319)

Unified Diff: android_webview/browser/aw_locale_manager.h

Issue 1172093002: Implement HttpUserAgentSettings delegate for Android WebView (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: android_webview/browser/aw_locale_manager.h
diff --git a/android_webview/browser/aw_locale_manager.h b/android_webview/browser/aw_locale_manager.h
new file mode 100644
index 0000000000000000000000000000000000000000..bdc822a55b3c25dc5f8b6afbf51f905d66bc8f91
--- /dev/null
+++ b/android_webview/browser/aw_locale_manager.h
@@ -0,0 +1,28 @@
+// Copyright 2015 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 ANDROID_WEBVIEW_BROWSER_AW_LOCALE_MANAGER_H_
+#define ANDROID_WEBVIEW_BROWSER_AW_LOCALE_MANAGER_H_
+
+#include <string>
+
+#include "base/basictypes.h"
+
+namespace android_webview {
+
+// Empty base class so this can be destroyed by AwContentBrowserClient.
+class AwLocaleManager {
+ public:
+ AwLocaleManager() {}
+ virtual ~AwLocaleManager() {}
+
+ virtual std::string GetLocale() = 0;
+
+ private:
+ DISALLOW_COPY_AND_ASSIGN(AwLocaleManager);
+};
+
+} // namespace android_webview
+
+#endif // ANDROID_WEBVIEW_BROWSER_AW_LOCALE_MANAGER_H_
« no previous file with comments | « android_webview/browser/aw_content_browser_client.cc ('k') | android_webview/browser/jni_dependency_factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698