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

Unified Diff: components/metrics/profiler/tracking_synchronizer_unittest.cc

Issue 1862513003: Remove NPAPI from browser and utility (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 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
Index: components/metrics/profiler/tracking_synchronizer_unittest.cc
diff --git a/components/metrics/profiler/tracking_synchronizer_unittest.cc b/components/metrics/profiler/tracking_synchronizer_unittest.cc
index 10e7a27a1e6838b5b90a5a2596c1c3b893b45327..f1df9eb4181f33bf203fb6379c7cac58b1343ed8 100644
--- a/components/metrics/profiler/tracking_synchronizer_unittest.cc
+++ b/components/metrics/profiler/tracking_synchronizer_unittest.cc
@@ -54,7 +54,7 @@ class TestObserver : public TrackingSynchronizerObserver {
const tracked_objects::ProcessDataPhaseSnapshot& process_data_phase,
const ProfilerEvents& past_events) override {
EXPECT_EQ(static_cast<base::ProcessId>(239), attributes.process_id);
- EXPECT_EQ(ProfilerEventProto::TrackedObject::PLUGIN,
+ EXPECT_EQ(ProfilerEventProto::TrackedObject::PPAPI_PLUGIN,
attributes.process_type);
ASSERT_EQ(1u, process_data_phase.tasks.size());
@@ -147,7 +147,8 @@ TEST(TrackingSynchronizerTest, ProfilerData) {
clock->Advance(base::TimeDelta::FromMilliseconds(444));
TestObserver test_observer;
tracking_synchronizer->SendData(
- profiler_data, ProfilerEventProto::TrackedObject::PLUGIN, &test_observer);
+ profiler_data, ProfilerEventProto::TrackedObject::PPAPI_PLUGIN,
+ &test_observer);
}
} // namespace metrics

Powered by Google App Engine
This is Rietveld 408576698