| Index: chrome/browser/engagement/site_engagement_service.h
|
| diff --git a/chrome/browser/engagement/site_engagement_service.h b/chrome/browser/engagement/site_engagement_service.h
|
| index a85a47075f7b7983a6ddbb4fe556951d8f91b3f5..9590cbd878b8903567e3923ffacb1a127a3b890b 100644
|
| --- a/chrome/browser/engagement/site_engagement_service.h
|
| +++ b/chrome/browser/engagement/site_engagement_service.h
|
| @@ -5,6 +5,8 @@
|
| #ifndef CHROME_BROWSER_ENGAGEMENT_SITE_ENGAGEMENT_SERVICE_H_
|
| #define CHROME_BROWSER_ENGAGEMENT_SITE_ENGAGEMENT_SERVICE_H_
|
|
|
| +#include <map>
|
| +
|
| #include "base/gtest_prod_util.h"
|
| #include "base/macros.h"
|
| #include "base/time/default_clock.h"
|
| @@ -118,6 +120,9 @@ class SiteEngagementService : public KeyedService,
|
| explicit SiteEngagementService(Profile* profile);
|
| ~SiteEngagementService() override;
|
|
|
| + // Returns a map of all stored origins and their engagement scores.
|
| + std::map<GURL, int> GetScoreMap();
|
| +
|
| // Update the karma score of the origin matching |url| for user navigation.
|
| void HandleNavigation(const GURL& url, ui::PageTransition transition_type);
|
|
|
|
|