Index: chrome/common/chrome_content_client.cc |
diff --git a/chrome/common/chrome_content_client.cc b/chrome/common/chrome_content_client.cc |
index bbefaa0ca59d34162a272759ddab58cf9e041b05..ce2fdf2032259bcd17b48c5fe13b289f4f71c178 100644 |
--- a/chrome/common/chrome_content_client.cc |
+++ b/chrome/common/chrome_content_client.cc |
@@ -25,6 +25,7 @@ |
#include "chrome/common/pepper_flash.h" |
#include "chrome/common/render_messages.h" |
#include "chrome/common/secure_origin_whitelist.h" |
+#include "chrome/common/trace_event_args_whitelist.h" |
#include "chrome/common/url_constants.h" |
#include "chrome/grit/common_resources.h" |
#include "components/dom_distiller/core/url_constants.h" |
@@ -561,3 +562,8 @@ void ChromeContentClient::AddSecureSchemesAndOrigins( |
schemes->insert(extensions::kExtensionResourceScheme); |
GetSecureOriginWhitelist(origins); |
} |
+ |
+base::trace_event::TraceEvent::EventFilterPredicate |
+ChromeContentClient::GetTraceEventFilterPredicate() const { |
+ return base::Bind(&chrome::IsTraceEventArgsWhitelisted); |
+} |