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