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

Unified Diff: third_party/WebKit/Source/core/frame/History.h

Issue 2652213005: Surface pushState event (Closed)
Patch Set: Created 3 years, 11 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/frame/History.h
diff --git a/third_party/WebKit/Source/core/frame/History.h b/third_party/WebKit/Source/core/frame/History.h
index 4d3ab7d5e410eceb70b6475aabb9f9b61bf58f01..708b9b7e09a40f1ef7efae83dd1f0132d217280c 100644
--- a/third_party/WebKit/Source/core/frame/History.h
+++ b/third_party/WebKit/Source/core/frame/History.h
@@ -32,6 +32,7 @@
#include "core/dom/ContextLifecycleObserver.h"
#include "core/loader/FrameLoaderTypes.h"
#include "platform/heap/Handle.h"
+#include "platform/instrumentation/tracing/TraceEvent.h"
#include "wtf/Forward.h"
namespace blink {
@@ -63,6 +64,7 @@ class CORE_EXPORT History final : public GarbageCollectedFinalized<History>,
const String& title,
const String& url,
ExceptionState& exceptionState) {
+ TRACE_EVENT0("spa:navigation", "History::pushState");
tdresser 2017/01/26 20:01:53 I think we can just use "blink" as the category. L
stateObjectAdded(std::move(data), title, url, scrollRestorationInternal(),
FrameLoadTypeStandard, exceptionState);
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698