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

Unified Diff: content/test/navigation_simulator_unittest.cc

Issue 2830353003: Tracing for NavigationHandle lifetime and state. (Closed)
Patch Set: Rebase. 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
« no previous file with comments | « content/public/test/navigation_simulator.cc ('k') | extensions/browser/extension_navigation_throttle.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/test/navigation_simulator_unittest.cc
diff --git a/content/test/navigation_simulator_unittest.cc b/content/test/navigation_simulator_unittest.cc
index 27638b794c5a5683db734ce346250f062ee1ded0..5174cb2a928b1e754f7b93f7eb0ee5f857e16faf 100644
--- a/content/test/navigation_simulator_unittest.cc
+++ b/content/test/navigation_simulator_unittest.cc
@@ -69,6 +69,10 @@ class CancellingNavigationThrottle : public NavigationThrottle {
return ProcessState(cancel_time_ == WILL_PROCESS_RESPONSE);
}
+ const char* GetNameForLogging() override {
+ return "CancellingNavigationThrottle";
+ }
+
NavigationThrottle::ThrottleCheckResult ProcessState(bool should_cancel) {
if (sync_ == ASYNCHRONOUS) {
BrowserThread::PostTask(
« no previous file with comments | « content/public/test/navigation_simulator.cc ('k') | extensions/browser/extension_navigation_throttle.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698