| Index: chrome/browser/extensions/extension_clear_api.h
|
| diff --git a/chrome/browser/extensions/extension_clear_api.h b/chrome/browser/extensions/extension_clear_api.h
|
| index 46c89cb996848378e616857fc5dd86c3a442cbcd..ed074e083e60ab3c3f16b6a69e19ce315248fa83 100644
|
| --- a/chrome/browser/extensions/extension_clear_api.h
|
| +++ b/chrome/browser/extensions/extension_clear_api.h
|
| @@ -20,6 +20,8 @@ namespace base {
|
| class DictionaryValue;
|
| }
|
|
|
| +class PluginPrefs;
|
| +
|
| // This serves as a base class from which the browsing data API functions will
|
| // inherit. Each needs to be an observer of BrowsingDataRemover events, and each
|
| // will handle those events in the same way (by calling the passed-in callback
|
| @@ -40,6 +42,17 @@ class BrowsingDataExtensionFunction : public AsyncExtensionFunction,
|
| // Children should override this method to provide the proper removal mask
|
| // based on the API call they represent.
|
| virtual int GetRemovalMask() const = 0;
|
| +
|
| + private:
|
| + // Updates the removal bitmask according to whether removing LSO data is
|
| + // supported or not.
|
| + void CheckRemovingLSODataSupported(scoped_refptr<PluginPrefs> plugin_prefs);
|
| +
|
| + // Called when we're ready to start removing data.
|
| + void StartRemoving();
|
| +
|
| + BrowsingDataRemover::TimePeriod period_;
|
| + int removal_mask_;
|
| };
|
|
|
| class ClearBrowsingDataFunction : public BrowsingDataExtensionFunction {
|
|
|