summaryrefslogtreecommitdiffstats
path: root/android_webview/browser/aw_web_preferences_populater.h
diff options
context:
space:
mode:
Diffstat (limited to 'android_webview/browser/aw_web_preferences_populater.h')
-rw-r--r--android_webview/browser/aw_web_preferences_populater.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/android_webview/browser/aw_web_preferences_populater.h b/android_webview/browser/aw_web_preferences_populater.h
new file mode 100644
index 0000000..4f50694
--- /dev/null
+++ b/android_webview/browser/aw_web_preferences_populater.h
@@ -0,0 +1,27 @@
+// Copyright 2013 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_WEB_PREFERENCES_POPULATER_H_
+#define ANDROID_WEBVIEW_BROWSER_AW_WEB_PREFERENCES_POPULATER_H_
+
+struct WebPreferences;
+
+namespace content {
+class WebContents;
+}
+
+namespace android_webview {
+
+// Empty base class so this can be destroyed by AwContentBrowserClient.
+class AwWebPreferencesPopulater {
+ public:
+ virtual ~AwWebPreferencesPopulater();
+
+ virtual void PopulateFor(content::WebContents* web_contents,
+ WebPreferences* web_prefs) = 0;
+};
+
+} // namespace android_webview
+
+#endif // ANDROID_WEBVIEW_BROWSER_AW_WEB_PREFERENCES_POPULATER_H_