Chromium Code Reviews| Index: chrome/browser/browsing_data/browsing_data_flash_lso_helper.h |
| diff --git a/chrome/browser/browsing_data/browsing_data_flash_lso_helper.h b/chrome/browser/browsing_data/browsing_data_flash_lso_helper.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..2f9f12bfda4d043a5869377898b92fe8848a814c |
| --- /dev/null |
| +++ b/chrome/browser/browsing_data/browsing_data_flash_lso_helper.h |
| @@ -0,0 +1,35 @@ |
| +// Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +#ifndef CHROME_BROWSER_BROWSING_DATA_BROWSING_DATA_FLASH_LSO_HELPER_H_ |
| +#define CHROME_BROWSER_BROWSING_DATA_BROWSING_DATA_FLASH_LSO_HELPER_H_ |
| + |
| +#include <string> |
| +#include <vector> |
| + |
| +#include "base/callback_forward.h" |
| +#include "base/memory/ref_counted.h" |
| + |
| +namespace content { |
| +class BrowserContext; |
| +} |
| + |
| +class BrowsingDataFlashLSOHelper |
|
James Hawkins
2012/07/30 03:04:39
nit: Document class.
markusheintz_
2012/07/30 14:02:15
+1 :)
Bernhard Bauer
2012/07/31 00:20:03
Done.
|
| + : public base::RefCounted<BrowsingDataFlashLSOHelper> { |
| + public: |
| + typedef base::Callback<void(const std::vector<std::string>&)> |
| + GetSitesWithDataCallback; |
|
markusheintz_
2012/07/30 14:02:15
nit: hm ... maybe "GetSitesWithFlashDataCallback".
Bernhard Bauer
2012/07/31 00:20:03
Done.
|
| + |
| + static BrowsingDataFlashLSOHelper* Create( |
| + content::BrowserContext* browser_context); |
| + |
| + virtual void StartFetching(const GetSitesWithDataCallback& callback) = 0; |
| + virtual void DeleteFlashLSOsForSite(const std::string& site) = 0; |
| + |
| + protected: |
| + friend class base::RefCounted<BrowsingDataFlashLSOHelper>; |
| + virtual ~BrowsingDataFlashLSOHelper() {} |
| +}; |
| + |
| +#endif // CHROME_BROWSER_BROWSING_DATA_BROWSING_DATA_FLASH_LSO_HELPER_H_ |