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

Unified Diff: components/subresource_filter/content/browser/content_subresource_filter_driver.cc

Issue 2556433003: Support optional performance measuring in SubresourceFilter. (Closed)
Patch Set: Link TODO to a bug. Created 4 years 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: components/subresource_filter/content/browser/content_subresource_filter_driver.cc
diff --git a/components/subresource_filter/content/browser/content_subresource_filter_driver.cc b/components/subresource_filter/content/browser/content_subresource_filter_driver.cc
index 54992698916ceb94cbd4863993831690c2a8acdf..421c4b54a05f6c141bee184b41cfc51753e1e7fc 100644
--- a/components/subresource_filter/content/browser/content_subresource_filter_driver.cc
+++ b/components/subresource_filter/content/browser/content_subresource_filter_driver.cc
@@ -17,11 +17,13 @@ ContentSubresourceFilterDriver::~ContentSubresourceFilterDriver() {}
void ContentSubresourceFilterDriver::ActivateForProvisionalLoad(
ActivationState activation_state,
- const GURL& url) {
+ const GURL& url,
+ bool measure_performance) {
// Must use legacy IPC to ensure the activation message arrives in-order, i.e.
// before the load is committed on the renderer side.
render_frame_host_->Send(new SubresourceFilterMsg_ActivateForProvisionalLoad(
- render_frame_host_->GetRoutingID(), activation_state, url));
+ render_frame_host_->GetRoutingID(), activation_state, url,
+ measure_performance));
}
} // namespace subresource_filter

Powered by Google App Engine
This is Rietveld 408576698