Fix dereference of NULL host in VersionUpdater::Create.
[chromium-blink-merge.git] / android_webview / native / aw_web_preferences_populater_impl.h
blob8b028450e70ab9502db6f639d372e0dab3867a5a
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.
5 #ifndef ANDROID_WEBVIEW_NATIVE_AW_WEB_PREFERENCES_POPULATER_IMPL_H_
6 #define ANDROID_WEBVIEW_NATIVE_AW_WEB_PREFERENCES_POPULATER_IMPL_H_
8 #include "android_webview/browser/aw_web_preferences_populater.h"
9 #include "base/compiler_specific.h"
11 namespace android_webview {
13 class AwSettings;
15 class AwWebPreferencesPopulaterImpl : public AwWebPreferencesPopulater {
16 public:
17 AwWebPreferencesPopulaterImpl();
18 ~AwWebPreferencesPopulaterImpl() override;
20 // AwWebPreferencesPopulater
21 void PopulateFor(content::WebContents* web_contents,
22 content::WebPreferences* web_prefs) override;
25 } // namespace android_webview
27 #endif // ANDROID_WEBVIEW_NATIVE_AW_WEB_PREFERENCES_POPULATER_IMPL_H_