summaryrefslogtreecommitdiffstats
path: root/chromium/content/renderer/pepper/ppapi_preferences_builder.h
blob: 0a08fb767c92d0c21599d0ffb7014581141b6831 (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
27
// Copyright 2014 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 CONTENT_RENDERER_PEPPER_PPAPI_PREFERENCES_BUILDER_H_
#define CONTENT_RENDERER_PEPPER_PPAPI_PREFERENCES_BUILDER_H_

namespace gpu {
struct GpuFeatureInfo;
}
namespace ppapi {
struct Preferences;
}

namespace content {

struct WebPreferences;

class PpapiPreferencesBuilder {
 public:
  static ppapi::Preferences Build(const WebPreferences& prefs,
                                  const gpu::GpuFeatureInfo& gpu_feature_info);
};

}  // namespace content

#endif  // CONTENT_RENDERER_PEPPER_PPAPI_PREFERENCES_BUILDER_H_