| 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
|
| index 463559b3f30102aa86004528ade00fd968da048d..65bb055d3623381ff987ba91001593307019989a 100644
|
| --- a/chrome/browser/pepper_flash_settings_manager.h
|
| +++ b/chrome/browser/pepper_flash_settings_manager.h
|
| @@ -42,6 +42,12 @@ class PepperFlashSettingsManager {
|
|
|
| virtual void OnSetSitePermissionCompleted(uint32 request_id,
|
| bool success) {}
|
| +
|
| + virtual void OnGetSitesWithDataCompleted(
|
| + uint32 request_id,
|
| + const std::vector<std::string>& sites) {}
|
| +
|
| + virtual void OnClearSiteDataCompleted(uint32 request_id, bool success) {}
|
| };
|
|
|
| // |client| must outlive this object. It is guaranteed that |client| won't
|
| @@ -84,6 +90,16 @@ class PepperFlashSettingsManager {
|
| uint32 SetSitePermission(PP_Flash_BrowserOperations_SettingType setting_type,
|
| const ppapi::FlashSiteSettings& sites);
|
|
|
| + // Gets a list of sites that have stored data.
|
| + // Client::OnGetSitesWithDataCompleted() will be called when the operation is
|
| + // completed.
|
| + uint32 GetSitesWithData();
|
| +
|
| + // Clears data for a certain site.
|
| + // Client::OnClearSiteDataompleted() will be called when the operation is
|
| + // completed.
|
| + uint32 ClearSiteData(const std::string& site, uint64 flags, uint64 max_age);
|
| +
|
| private:
|
| // Core does most of the work. It is ref-counted so that its lifespan can be
|
| // independent of the containing object's:
|
|
|