OLD | NEW |
| (Empty) |
1 // Copyright 2013 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_WEB_PREFERENCES_POPULATER_H_ | |
6 #define ANDROID_WEBVIEW_BROWSER_AW_WEB_PREFERENCES_POPULATER_H_ | |
7 | |
8 namespace content { | |
9 class WebContents; | |
10 struct WebPreferences; | |
11 } | |
12 | |
13 namespace android_webview { | |
14 | |
15 // Empty base class so this can be destroyed by AwContentBrowserClient. | |
16 class AwWebPreferencesPopulater { | |
17 public: | |
18 virtual ~AwWebPreferencesPopulater(); | |
19 | |
20 virtual void PopulateFor(content::WebContents* web_contents, | |
21 content::WebPreferences* web_prefs) = 0; | |
22 }; | |
23 | |
24 } // namespace android_webview | |
25 | |
26 #endif // ANDROID_WEBVIEW_BROWSER_AW_WEB_PREFERENCES_POPULATER_H_ | |
OLD | NEW |