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

Unified Diff: net/log/net_log_event_type_list.h

Issue 2361963002: Adding NetLog support to SafeBrowsingPingManager. (Closed)
Patch Set: Tidy up after final reviews. Created 4 years, 2 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
« no previous file with comments | « chrome/browser/safe_browsing/ping_manager_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 b1387f05d75671dea83fbb3ee2b52bbb3666f006..ec5cc41848679d5ca3928d85942a9f1a0c93e5b7 100644
--- a/net/log/net_log_event_type_list.h
+++ b/net/log/net_log_event_type_list.h
@@ -3020,6 +3020,21 @@ 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 base64 encoding of the payload sent with the ping>
+//
+// The END phase contains the following parameters:
+// {
+// "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:
// {
« no previous file with comments | « chrome/browser/safe_browsing/ping_manager_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698