Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(218)

Side by Side Diff: android_webview/browser/aw_web_preferences_populater_impl.cc

Issue 2884353003: [WebView] Remove more redundant classes (Closed)
Patch Set: add missing header Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(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 #include "android_webview/browser/aw_web_preferences_populater_impl.h"
6
7 #include "android_webview/browser/aw_settings.h"
8
9 namespace android_webview {
10
11 AwWebPreferencesPopulaterImpl::AwWebPreferencesPopulaterImpl() {}
12
13 AwWebPreferencesPopulaterImpl::~AwWebPreferencesPopulaterImpl() {}
14
15 void AwWebPreferencesPopulaterImpl::PopulateFor(
16 content::WebContents* web_contents,
17 content::WebPreferences* web_prefs) {
18 AwSettings* aw_settings = AwSettings::FromWebContents(web_contents);
19 if (aw_settings) {
20 aw_settings->PopulateWebPreferences(web_prefs);
21 }
22 }
23
24 } // namespace android_webview
OLDNEW
« no previous file with comments | « android_webview/browser/aw_web_preferences_populater_impl.h ('k') | android_webview/browser/jni_dependency_factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698