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

Side by Side Diff: base/trace_event/blame_context_unittest.cc

Issue 2876013002: Add missing IWYU message_loop.h includes. (Closed)
Patch Set: fix upstream Created 3 years, 7 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 unified diff | Download patch
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "base/trace_event/blame_context.h" 5 #include "base/trace_event/blame_context.h"
6 6
7 #include "base/json/json_writer.h" 7 #include "base/json/json_writer.h"
8 #include "base/memory/ptr_util.h" 8 #include "base/memory/ptr_util.h"
9 #include "base/memory/ref_counted_memory.h" 9 #include "base/memory/ref_counted_memory.h"
10 #include "base/message_loop/message_loop.h"
10 #include "base/run_loop.h" 11 #include "base/run_loop.h"
11 #include "base/test/trace_event_analyzer.h" 12 #include "base/test/trace_event_analyzer.h"
12 #include "base/trace_event/trace_buffer.h" 13 #include "base/trace_event/trace_buffer.h"
13 #include "base/trace_event/trace_event_argument.h" 14 #include "base/trace_event/trace_event_argument.h"
14 #include "testing/gtest/include/gtest/gtest.h" 15 #include "testing/gtest/include/gtest/gtest.h"
15 16
16 namespace base { 17 namespace base {
17 namespace trace_event { 18 namespace trace_event {
18 namespace { 19 namespace {
19 20
(...skipping 193 matching lines...) Expand 10 before | Expand all | Expand 10 after
213 "}"; 214 "}";
214 215
215 std::string snapshot_json; 216 std::string snapshot_json;
216 JSONWriter::Write(*events[2]->GetKnownArgAsValue("snapshot"), &snapshot_json); 217 JSONWriter::Write(*events[2]->GetKnownArgAsValue("snapshot"), &snapshot_json);
217 EXPECT_EQ(kExpectedSnapshotJson, snapshot_json); 218 EXPECT_EQ(kExpectedSnapshotJson, snapshot_json);
218 } 219 }
219 220
220 } // namepace 221 } // namepace
221 } // namespace trace_event 222 } // namespace trace_event
222 } // namespace base 223 } // namespace base
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698