| Index: chrome/browser/banners/app_banner_settings_helper.h
|
| diff --git a/chrome/browser/banners/app_banner_settings_helper.h b/chrome/browser/banners/app_banner_settings_helper.h
|
| index ee6a7c4fc978543ee0dfedee3d84fab5cc784e92..10b86fb7d1616c96b574e6bfda256037265cf096 100644
|
| --- a/chrome/browser/banners/app_banner_settings_helper.h
|
| +++ b/chrome/browser/banners/app_banner_settings_helper.h
|
| @@ -5,6 +5,7 @@
|
| #ifndef CHROME_BROWSER_BANNERS_APP_BANNER_SETTINGS_HELPER_H_
|
| #define CHROME_BROWSER_BANNERS_APP_BANNER_SETTINGS_HELPER_H_
|
|
|
| +#include <set>
|
| #include <string>
|
| #include <vector>
|
|
|
| @@ -16,6 +17,7 @@ class WebContents;
|
| } // namespace content
|
|
|
| class GURL;
|
| +class Profile;
|
|
|
| // Utility class to record banner events for the given package or start url.
|
| //
|
| @@ -44,6 +46,13 @@ class AppBannerSettingsHelper {
|
| APP_BANNER_EVENT_NUM_EVENTS,
|
| };
|
|
|
| + // The content setting basically records a simplified subset of history.
|
| + // For privacy reasons this needs to be cleared. The ClearHistoryForURLs
|
| + // function removes any information from the banner content settings for the
|
| + // given URls.
|
| + static void ClearHistoryForURLs(Profile* profile,
|
| + const std::set<GURL>& origin_urls);
|
| +
|
| static void RecordBannerEvent(content::WebContents* web_contents,
|
| const GURL& origin_url,
|
| const std::string& package_name_or_start_url,
|
|
|