summaryrefslogtreecommitdiffstats
path: root/android_webview/browser/aw_web_preferences_populater.h
blob: 6fbd76ba9e0dc90bee97265318b1350173613de0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
// Copyright 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.

#ifndef ANDROID_WEBVIEW_BROWSER_AW_WEB_PREFERENCES_POPULATER_H_
#define ANDROID_WEBVIEW_BROWSER_AW_WEB_PREFERENCES_POPULATER_H_

namespace content {
class WebContents;
struct WebPreferences;
}

namespace android_webview {

// Empty base class so this can be destroyed by AwContentBrowserClient.
class AwWebPreferencesPopulater {
 public:
  virtual ~AwWebPreferencesPopulater();

  virtual void PopulateFor(content::WebContents* web_contents,
                           content::WebPreferences* web_prefs) = 0;
};

}  // namespace android_webview

#endif  // ANDROID_WEBVIEW_BROWSER_AW_WEB_PREFERENCES_POPULATER_H_