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

Unified Diff: third_party/WebKit/Source/core/inspector/InspectorTracingAgent.cpp

Issue 2218603003: Timeline: show white overlay till page being reloaded paints (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: cleanup Created 4 years, 4 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/inspector/InspectorTracingAgent.cpp
diff --git a/third_party/WebKit/Source/core/inspector/InspectorTracingAgent.cpp b/third_party/WebKit/Source/core/inspector/InspectorTracingAgent.cpp
index a9c0c98914697c39118142c531fbea0ae7e1ab79..715ef004fef83201f2048ae2841d792b3cd1c230 100644
--- a/third_party/WebKit/Source/core/inspector/InspectorTracingAgent.cpp
+++ b/third_party/WebKit/Source/core/inspector/InspectorTracingAgent.cpp
@@ -48,6 +48,7 @@ void InspectorTracingAgent::start(
const Maybe<double>& bufferUsageReportingInterval,
const Maybe<String>& transferMode,
const Maybe<protocol::Tracing::TraceConfig>& config,
+ const Maybe<String>& reloadingBannerMessage,
std::unique_ptr<StartCallback> callback)
{
ASSERT(sessionId().isEmpty());
@@ -57,7 +58,7 @@ void InspectorTracingAgent::start(
}
m_state->setString(TracingAgentState::sessionId, IdentifiersFactory::createIdentifier());
- m_client->enableTracing(categories.fromMaybe(String()));
+ m_client->enableTracing(categories.fromMaybe(String()), reloadingBannerMessage.fromMaybe(String()));
emitMetadataEvents();
callback->sendSuccess();
}

Powered by Google App Engine
This is Rietveld 408576698