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

Side by Side Diff: android_webview/browser/aw_web_preferences_populater.h

Issue 2884353003: [WebView] Remove more redundant classes (Closed)
Patch Set: 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
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_BROWSER_AW_WEB_PREFERENCES_POPULATER_H_ 5 #ifndef ANDROID_WEBVIEW_BROWSER_AW_WEB_PREFERENCES_POPULATER_H_
6 #define ANDROID_WEBVIEW_BROWSER_AW_WEB_PREFERENCES_POPULATER_H_ 6 #define ANDROID_WEBVIEW_BROWSER_AW_WEB_PREFERENCES_POPULATER_H_
7 7
8 namespace content { 8 namespace content {
9 class WebContents; 9 class WebContents;
10 struct WebPreferences; 10 struct WebPreferences;
11 } 11 }
12 12
13 namespace android_webview { 13 namespace android_webview {
14 14
15 // Empty base class so this can be destroyed by AwContentBrowserClient. 15 // Empty base class so this can be destroyed by AwContentBrowserClient.
16 class AwWebPreferencesPopulater { 16 class AwWebPreferencesPopulater {
17 public: 17 public:
18 virtual ~AwWebPreferencesPopulater(); 18 AwWebPreferencesPopulater() = default;
19 ~AwWebPreferencesPopulater() = default;
19 20
20 virtual void PopulateFor(content::WebContents* web_contents, 21 void PopulateFor(content::WebContents* web_contents,
21 content::WebPreferences* web_prefs) = 0; 22 content::WebPreferences* web_prefs);
22 }; 23 };
23 24
24 } // namespace android_webview 25 } // namespace android_webview
25 26
26 #endif // ANDROID_WEBVIEW_BROWSER_AW_WEB_PREFERENCES_POPULATER_H_ 27 #endif // ANDROID_WEBVIEW_BROWSER_AW_WEB_PREFERENCES_POPULATER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698