Chromium Code Reviews| Index: android_webview/native/aw_web_preferences_populater_impl.cc |
| diff --git a/android_webview/native/aw_web_preferences_populater_impl.cc b/android_webview/native/aw_web_preferences_populater_impl.cc |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..bdd15df5d0472913f52b692c68af17482371574b |
| --- /dev/null |
| +++ b/android_webview/native/aw_web_preferences_populater_impl.cc |
| @@ -0,0 +1,23 @@ |
| +// Copyright (c) 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. |
| + |
| +#include "android_webview/native/aw_web_preferences_populater_impl.h" |
| + |
| +#include "android_webview/native/aw_settings.h" |
| + |
| +namespace android_webview { |
| + |
| +AwWebPreferencesPopulaterImpl::AwWebPreferencesPopulaterImpl() { |
| +} |
| + |
| +AwWebPreferencesPopulaterImpl::~AwWebPreferencesPopulaterImpl() { |
| +} |
| + |
| +void AwWebPreferencesPopulaterImpl::PopulateFor( |
| + content::WebContents* web_contents, |
| + WebPreferences* web_prefs) { |
| + AwSettings::FromWebContents(web_contents)->PopulateWebPreferences(web_prefs); |
|
joth
2013/09/26 10:44:06
early out if null (popup case it may not exist?)
|
| +} |
| + |
| +} |