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

Unified Diff: chrome/browser/renderer_host/safe_browsing_resource_throttle.h

Issue 2315613002: Extracted NetLog class's inner enum types into their own enum classes and (Closed)
Patch Set: Fixed a straggling, old enum and applied static_cast<int> to the new netlog enum types, since this … 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: chrome/browser/renderer_host/safe_browsing_resource_throttle.h
diff --git a/chrome/browser/renderer_host/safe_browsing_resource_throttle.h b/chrome/browser/renderer_host/safe_browsing_resource_throttle.h
index 3f4d372b8840528bba99cc4d02d767333ba472df..eb286f924cf4ec4ea0df1d7d2857c1da01d5eddc 100644
--- a/chrome/browser/renderer_host/safe_browsing_resource_throttle.h
+++ b/chrome/browser/renderer_host/safe_browsing_resource_throttle.h
@@ -18,6 +18,7 @@
#include "content/public/browser/resource_throttle.h"
#include "content/public/common/resource_type.h"
#include "net/log/net_log.h"
+#include "net/log/net_log_event_type.h"
class ResourceDispatcherHost;
@@ -143,11 +144,11 @@ class SafeBrowsingResourceThrottle
void ResumeRequest();
// For marking network events. |name| and |value| can be null.
- void BeginNetLogEvent(net::NetLog::EventType type,
+ void BeginNetLogEvent(net::NetLogEventType type,
const GURL& url,
const char* name,
const char* value);
- void EndNetLogEvent(net::NetLog::EventType type,
+ void EndNetLogEvent(net::NetLogEventType type,
const char* name,
const char* value);

Powered by Google App Engine
This is Rietveld 408576698