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

Unified Diff: content/public/test/browser_test_utils.cc

Issue 2830353003: Tracing for NavigationHandle lifetime and state. (Closed)
Patch Set: Make GetNameForLogging pure virtual. Created 3 years, 8 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/test/browser_test_utils.cc
diff --git a/content/public/test/browser_test_utils.cc b/content/public/test/browser_test_utils.cc
index 9e8359c59c6f26097a73b923a3377d5cc46df7e5..d0ef77d38ae22d3c83a77727530e4c66da9c998d 100644
--- a/content/public/test/browser_test_utils.cc
+++ b/content/public/test/browser_test_utils.cc
@@ -347,6 +347,10 @@ class TestNavigationManagerThrottle : public NavigationThrottle {
on_will_process_response_closure_(on_will_process_response_closure) {}
~TestNavigationManagerThrottle() override {}
+ const char* GetNameForLogging() override {
+ return "TestNavigationManagerThrottle";
+ }
+
private:
// NavigationThrottle:
NavigationThrottle::ThrottleCheckResult WillStartRequest() override {

Powered by Google App Engine
This is Rietveld 408576698