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

Unified Diff: net/log/net_log_event_type_list.h

Issue 2361963002: Adding NetLog support to SafeBrowsingPingManager. (Closed)
Patch Set: Created 4 years, 3 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: net/log/net_log_event_type_list.h
diff --git a/net/log/net_log_event_type_list.h b/net/log/net_log_event_type_list.h
index f0d43fff931eb22fcdde38bf927e630020ef2bda..b5ec612f88e86c5e166014132cc790abd021f874 100644
--- a/net/log/net_log_event_type_list.h
+++ b/net/log/net_log_event_type_list.h
@@ -3020,6 +3020,24 @@ EVENT_TYPE(SAFE_BROWSING_CHECKING_URL)
// }
EVENT_TYPE(SAFE_BROWSING_DEFERRED)
+// The start/end of a Safe Browsing ping being sent.
+//
+// The BEGIN phase contains the following parameters:
+// {
+// "url": <The URL the ping is going to, which identifies the type of ping
+// that is being sent (eg: ThreatReport, SafeBrowsingHit)>
+// "data": <The string payload of the ping being sent, may not be human
+// readable>
+//
+// The END phase contains the following parameters:
+// {
+// "url": <The URL the ping is going to, which identifies the type of ping
+// that is being sent (eg: ThreatReport, SafeBrowsingHit)>
+// "status": <The integer status of the report transmission. Corresponds to
+// URLRequestStatus::Status>
+// "error": <The error code returned by the server, 0 indicating success>
+EVENT_TYPE(SAFE_BROWSING_PING)
+
// Marks start of UploadDataStream that is logged on initialization.
// The END phase contains the following parameters:
// {
« chrome/browser/safe_browsing/ping_manager.cc ('K') | « chrome/browser/safe_browsing/ping_manager.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698