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

Unified Diff: content/public/common/content_client.h

Issue 1115343002: Added a whitelist for trace events that are known to be PII-less. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Moved whitelist to chrome Created 5 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: content/public/common/content_client.h
diff --git a/content/public/common/content_client.h b/content/public/common/content_client.h
index 9b9cebac720c5ff42fb525d284523ce238dbc429..607abc2846f032d5e759ec66c3c142c59454063c 100644
--- a/content/public/common/content_client.h
+++ b/content/public/common/content_client.h
@@ -12,6 +12,7 @@
#include "base/basictypes.h"
#include "base/strings/string16.h"
#include "base/strings/string_piece.h"
+#include "base/trace_event/trace_event_impl.h"
#include "build/build_config.h"
#include "content/common/content_export.h"
#include "ui/base/layout.h"
@@ -141,6 +142,9 @@ class CONTENT_EXPORT ContentClient {
virtual void AddSecureSchemesAndOrigins(std::set<std::string>* schemes,
std::set<GURL>* origins) {}
+ virtual base::trace_event::TraceEvent::EventFilterPredicate
+ GetTraceEventFilterPredicate() const;
+
private:
friend class ContentClientInitializer; // To set these pointers.
friend class InternalTestInitializer;

Powered by Google App Engine
This is Rietveld 408576698