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

Unified Diff: chrome/browser/extensions/activity_log/uma_policy.h

Issue 270153004: Introduce ActiveScriptController; track active extension scripts (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/extensions/activity_log/uma_policy.h
diff --git a/chrome/browser/extensions/activity_log/uma_policy.h b/chrome/browser/extensions/activity_log/uma_policy.h
index e5ea34be863bd0abe85fc38faec34bac537e69da..ef4894f16048301794c1b4c8ef7843abb33636ab 100644
--- a/chrome/browser/extensions/activity_log/uma_policy.h
+++ b/chrome/browser/extensions/activity_log/uma_policy.h
@@ -96,10 +96,12 @@ class UmaPolicy : public ActivityLogPolicy,
void SetupOpenedPage(const std::string& url);
// When a page is closing, remove it from the SiteMap url_status_.
- void CleanupClosedPage(const std::string& url);
+ void CleanupClosedPage(const std::string& cleaned_url,
+ content::WebContents* web_contents);
// When a page is closing, save statistics about the page to histograms.
- void HistogramOnClose(const std::string& url);
+ void HistogramOnClose(const std::string& cleaned_url,
+ content::WebContents* web_contents);
// Standardizes the way URLs are treated.
static std::string CleanURL(const GURL& gurl);

Powered by Google App Engine
This is Rietveld 408576698