| OLD | NEW |
| (Empty) | |
| 1 // Copyright (c) 2012 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 #ifndef CHROME_BROWSER_PEPPER_FLASH_SETTINGS_MANAGER_H_ |
| 6 #define CHROME_BROWSER_PEPPER_FLASH_SETTINGS_MANAGER_H_ |
| 7 #pragma once |
| 8 |
| 9 class PluginPrefs; |
| 10 |
| 11 namespace webkit { |
| 12 struct WebPluginInfo; |
| 13 } |
| 14 |
| 15 // PepperFlashSettingsManager communicates with a PPAPI broker process to |
| 16 // read/write Pepper Flash settings. |
| 17 class PepperFlashSettingsManager { |
| 18 public: |
| 19 // |plugin_info| will be updated if it is not NULL and the method returns |
| 20 // true. |
| 21 static bool IsPepperFlashInUse(PluginPrefs* plugin_prefs, |
| 22 webkit::WebPluginInfo* plugin_info); |
| 23 }; |
| 24 |
| 25 #endif // CHROME_BROWSER_PEPPER_FLASH_SETTINGS_MANAGER_H_ |
| OLD | NEW |