Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(47)

Side by Side Diff: components/browsing_data/core/counters/site_settings_counter.h

Issue 2816723002: Add "Site Settings" option to Clear Browsing Data on Android (Closed)
Patch Set: fix deps Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2017 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 COMPONENTS_BROWSING_DATA_CORE_COUNTERS_SITE_SETTINGS_COUNTER_H_
6 #define COMPONENTS_BROWSING_DATA_CORE_COUNTERS_SITE_SETTINGS_COUNTER_H_
7
8 #include "components/browsing_data/core/counters/browsing_data_counter.h"
9 #include "components/content_settings/core/browser/host_content_settings_map.h"
10
11 namespace browsing_data {
12
13 class SiteSettingsCounter : public browsing_data::BrowsingDataCounter {
14 public:
15 explicit SiteSettingsCounter(HostContentSettingsMap* hcsm);
16 ~SiteSettingsCounter() override;
17
18 const char* GetPrefName() const override;
19
20 private:
21 void OnInitialized() override;
22
23 void Count() override;
24
25 scoped_refptr<HostContentSettingsMap> map_;
26 };
27
28 } // namespace browsing_data
29
30 #endif // COMPONENTS_BROWSING_DATA_CORE_COUNTERS_SITE_SETTINGS_COUNTER_H_
OLDNEW
« no previous file with comments | « components/browsing_data/core/browsing_data_utils.cc ('k') | components/browsing_data/core/counters/site_settings_counter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698