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

Unified Diff: Source/core/page/Performance.cpp

Issue 14246023: Unprefix User Timing. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix tests Created 7 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 | « Source/core/page/Performance.h ('k') | Source/core/page/Performance.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/page/Performance.cpp
diff --git a/Source/core/page/Performance.cpp b/Source/core/page/Performance.cpp
index 4ca0392514287bc9b252ef01db408026726ddc56..b56020e1faa092ae20b4c809500ac61b7a17d8cf 100644
--- a/Source/core/page/Performance.cpp
+++ b/Source/core/page/Performance.cpp
@@ -94,7 +94,7 @@ PerformanceTiming* Performance::timing() const
return m_timing.get();
}
-Vector<RefPtr<PerformanceEntry> > Performance::webkitGetEntries() const
+Vector<RefPtr<PerformanceEntry> > Performance::getEntries() const
{
Vector<RefPtr<PerformanceEntry> > entries;
@@ -109,7 +109,7 @@ Vector<RefPtr<PerformanceEntry> > Performance::webkitGetEntries() const
return entries;
}
-Vector<RefPtr<PerformanceEntry> > Performance::webkitGetEntriesByType(const String& entryType)
+Vector<RefPtr<PerformanceEntry> > Performance::getEntriesByType(const String& entryType)
{
Vector<RefPtr<PerformanceEntry> > entries;
@@ -128,7 +128,7 @@ Vector<RefPtr<PerformanceEntry> > Performance::webkitGetEntriesByType(const Stri
return entries;
}
-Vector<RefPtr<PerformanceEntry> > Performance::webkitGetEntriesByName(const String& name, const String& entryType)
+Vector<RefPtr<PerformanceEntry> > Performance::getEntriesByName(const String& name, const String& entryType)
{
Vector<RefPtr<PerformanceEntry> > entries;
@@ -188,7 +188,7 @@ EventTargetData* Performance::ensureEventTargetData()
return &m_eventTargetData;
}
-void Performance::webkitMark(const String& markName, ExceptionCode& ec)
+void Performance::mark(const String& markName, ExceptionCode& ec)
{
ec = 0;
if (!m_userTiming)
@@ -196,14 +196,14 @@ void Performance::webkitMark(const String& markName, ExceptionCode& ec)
m_userTiming->mark(markName, ec);
}
-void Performance::webkitClearMarks(const String& markName)
+void Performance::clearMarks(const String& markName)
{
if (!m_userTiming)
m_userTiming = UserTiming::create(this);
m_userTiming->clearMarks(markName);
}
-void Performance::webkitMeasure(const String& measureName, const String& startMark, const String& endMark, ExceptionCode& ec)
+void Performance::measure(const String& measureName, const String& startMark, const String& endMark, ExceptionCode& ec)
{
ec = 0;
if (!m_userTiming)
@@ -211,7 +211,7 @@ void Performance::webkitMeasure(const String& measureName, const String& startMa
m_userTiming->measure(measureName, startMark, endMark, ec);
}
-void Performance::webkitClearMeasures(const String& measureName)
+void Performance::clearMeasures(const String& measureName)
{
if (!m_userTiming)
m_userTiming = UserTiming::create(this);
« no previous file with comments | « Source/core/page/Performance.h ('k') | Source/core/page/Performance.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698