| 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 #include "base/basictypes.h" |
| 10 |
| 11 class PluginPrefs; |
| 12 class PrefService; |
| 13 |
| 14 namespace webkit { |
| 15 struct WebPluginInfo; |
| 16 } |
| 17 |
| 18 // PepperFlashSettingsManager communicates with a PPAPI broker process to |
| 19 // read/write Pepper Flash settings. |
| 20 class PepperFlashSettingsManager { |
| 21 public: |
| 22 // |plugin_info| will be updated if it is not NULL and the method returns |
| 23 // true. |
| 24 static bool IsPepperFlashInUse(PluginPrefs* plugin_prefs, |
| 25 webkit::WebPluginInfo* plugin_info); |
| 26 |
| 27 static void RegisterUserPrefs(PrefService* prefs); |
| 28 |
| 29 private: |
| 30 DISALLOW_IMPLICIT_CONSTRUCTORS(PepperFlashSettingsManager); |
| 31 }; |
| 32 |
| 33 #endif // CHROME_BROWSER_PEPPER_FLASH_SETTINGS_MANAGER_H_ |
| OLD | NEW |