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

Unified Diff: third_party/WebKit/Source/platform/scheduler/base/long_task_tracker_unittest.cc

Issue 2118903002: scheduler: Move the Blink scheduler into Blink (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased 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/platform/scheduler/base/long_task_tracker_unittest.cc
diff --git a/components/scheduler/base/long_task_tracker_unittest.cc b/third_party/WebKit/Source/platform/scheduler/base/long_task_tracker_unittest.cc
similarity index 89%
rename from components/scheduler/base/long_task_tracker_unittest.cc
rename to third_party/WebKit/Source/platform/scheduler/base/long_task_tracker_unittest.cc
index 8d11c9b46480a4b9b2713bc423537b1d68deec19..322d02876e53be253ede9d30336901376b1754f2 100644
--- a/components/scheduler/base/long_task_tracker_unittest.cc
+++ b/third_party/WebKit/Source/platform/scheduler/base/long_task_tracker_unittest.cc
@@ -2,18 +2,17 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "components/scheduler/base/long_task_tracker.h"
+#include "platform/scheduler/base/long_task_tracker.h"
#include "testing/gtest/include/gtest/gtest.h"
+namespace blink {
namespace scheduler {
class LongTaskTrackerTest : public ::testing::Test {
protected:
LongTaskTracker long_task_tracker_;
- size_t NumLongTasks() {
- return long_task_tracker_.long_task_times_.size();
- }
+ size_t NumLongTasks() { return long_task_tracker_.long_task_times_.size(); }
};
TEST_F(LongTaskTrackerTest, RecordAndReport) {
@@ -50,4 +49,5 @@ TEST_F(LongTaskTrackerTest, RecordAndReport) {
EXPECT_EQ(75, long_task_times[1].second.InMilliseconds());
}
-}
+} // namespace scheduler
+} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698