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

Unified Diff: third_party/WebKit/Source/core/loader/NavigationScheduler.cpp

Issue 2727633006: DevTools: Rename InspectorInstrumentation:: namespace into probe:: (Closed)
Patch Set: Created 3 years, 10 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: third_party/WebKit/Source/core/loader/NavigationScheduler.cpp
diff --git a/third_party/WebKit/Source/core/loader/NavigationScheduler.cpp b/third_party/WebKit/Source/core/loader/NavigationScheduler.cpp
index f85930d9fbda2bf1327db109fce34128d7295f4a..8548da0c32939dab85bdc6767fc8942a73df1613 100644
--- a/third_party/WebKit/Source/core/loader/NavigationScheduler.cpp
+++ b/third_party/WebKit/Source/core/loader/NavigationScheduler.cpp
@@ -477,13 +477,13 @@ void NavigationScheduler::navigateTask() {
if (!m_frame->page())
return;
if (m_frame->page()->suspended()) {
- InspectorInstrumentation::frameClearedScheduledNavigation(m_frame);
+ probe::frameClearedScheduledNavigation(m_frame);
return;
}
ScheduledNavigation* redirect(m_redirect.release());
redirect->fire(m_frame);
- InspectorInstrumentation::frameClearedScheduledNavigation(m_frame);
+ probe::frameClearedScheduledNavigation(m_frame);
}
void NavigationScheduler::schedule(ScheduledNavigation* redirect) {
@@ -528,15 +528,14 @@ void NavigationScheduler::startTimer() {
wrapWeakPersistent(this)),
m_redirect->delay() * 1000.0);
- InspectorInstrumentation::frameScheduledNavigation(m_frame,
- m_redirect->delay());
+ probe::frameScheduledNavigation(m_frame, m_redirect->delay());
}
void NavigationScheduler::cancel() {
if (m_navigateTaskHandle.isActive()) {
Platform::current()->currentThread()->scheduler()->removePendingNavigation(
m_frameType);
- InspectorInstrumentation::frameClearedScheduledNavigation(m_frame);
+ probe::frameClearedScheduledNavigation(m_frame);
}
m_navigateTaskHandle.cancel();
m_redirect.clear();
« no previous file with comments | « third_party/WebKit/Source/core/loader/ImageLoader.cpp ('k') | third_party/WebKit/Source/core/loader/PingLoader.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698