OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef ANDROID_WEBVIEW_NATIVE_AW_WEB_PREFERENCES_POPULATER_IMPL_H_ | 5 #ifndef ANDROID_WEBVIEW_NATIVE_AW_WEB_PREFERENCES_POPULATER_IMPL_H_ |
6 #define ANDROID_WEBVIEW_NATIVE_AW_WEB_PREFERENCES_POPULATER_IMPL_H_ | 6 #define ANDROID_WEBVIEW_NATIVE_AW_WEB_PREFERENCES_POPULATER_IMPL_H_ |
7 | 7 |
8 #include "android_webview/browser/aw_web_preferences_populater.h" | 8 #include "android_webview/browser/aw_web_preferences_populater.h" |
9 #include "base/compiler_specific.h" | 9 #include "base/compiler_specific.h" |
10 | 10 |
11 namespace android_webview { | 11 namespace android_webview { |
12 | 12 |
13 class AwSettings; | 13 class AwSettings; |
14 | 14 |
15 class AwWebPreferencesPopulaterImpl : public AwWebPreferencesPopulater { | 15 class AwWebPreferencesPopulaterImpl : public AwWebPreferencesPopulater { |
16 public: | 16 public: |
17 AwWebPreferencesPopulaterImpl(); | 17 AwWebPreferencesPopulaterImpl(); |
18 virtual ~AwWebPreferencesPopulaterImpl(); | 18 ~AwWebPreferencesPopulaterImpl() override; |
19 | 19 |
20 // AwWebPreferencesPopulater | 20 // AwWebPreferencesPopulater |
21 virtual void PopulateFor(content::WebContents* web_contents, | 21 void PopulateFor(content::WebContents* web_contents, |
22 content::WebPreferences* web_prefs) override; | 22 content::WebPreferences* web_prefs) override; |
23 }; | 23 }; |
24 | 24 |
25 } // namespace android_webview | 25 } // namespace android_webview |
26 | 26 |
27 #endif // ANDROID_WEBVIEW_NATIVE_AW_WEB_PREFERENCES_POPULATER_IMPL_H_ | 27 #endif // ANDROID_WEBVIEW_NATIVE_AW_WEB_PREFERENCES_POPULATER_IMPL_H_ |
OLD | NEW |