| Index: chrome/browser/pepper_flash_settings_manager.h
|
| diff --git a/chrome/browser/pepper_flash_settings_manager.h b/chrome/browser/pepper_flash_settings_manager.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..8f21cb73dd7a30bcde521f838ace933fe0bd4542
|
| --- /dev/null
|
| +++ b/chrome/browser/pepper_flash_settings_manager.h
|
| @@ -0,0 +1,25 @@
|
| +// Copyright (c) 2012 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 CHROME_BROWSER_PEPPER_FLASH_SETTINGS_MANAGER_H_
|
| +#define CHROME_BROWSER_PEPPER_FLASH_SETTINGS_MANAGER_H_
|
| +#pragma once
|
| +
|
| +class PluginPrefs;
|
| +
|
| +namespace webkit {
|
| +struct WebPluginInfo;
|
| +}
|
| +
|
| +// PepperFlashSettingsManager communicates with a PPAPI broker process to
|
| +// read/write Pepper Flash settings.
|
| +class PepperFlashSettingsManager {
|
| + public:
|
| + // |plugin_info| will be updated if it is not NULL and the method returns
|
| + // true.
|
| + static bool IsPepperFlashInUse(PluginPrefs* plugin_prefs,
|
| + webkit::WebPluginInfo* plugin_info);
|
| +};
|
| +
|
| +#endif // CHROME_BROWSER_PEPPER_FLASH_SETTINGS_MANAGER_H_
|
|
|