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

Side by Side Diff: content/browser/tracing/memory_tracing_browsertest.cc

Issue 2884763002: Automated IWYU fix for TaskRunner includes. (Closed)
Patch Set: rebase on r472096 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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 <stdint.h> 5 #include <stdint.h>
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/callback_forward.h" 8 #include "base/callback_forward.h"
9 #include "base/command_line.h" 9 #include "base/command_line.h"
10 #include "base/run_loop.h" 10 #include "base/run_loop.h"
11 #include "base/single_thread_task_runner.h"
11 #include "base/threading/thread_task_runner_handle.h" 12 #include "base/threading/thread_task_runner_handle.h"
12 #include "base/trace_event/memory_dump_manager.h" 13 #include "base/trace_event/memory_dump_manager.h"
13 #include "base/trace_event/memory_dump_provider.h" 14 #include "base/trace_event/memory_dump_provider.h"
14 #include "base/trace_event/memory_dump_request_args.h" 15 #include "base/trace_event/memory_dump_request_args.h"
15 #include "base/trace_event/trace_config_memory_test_util.h" 16 #include "base/trace_event/trace_config_memory_test_util.h"
16 #include "base/trace_event/trace_log.h" 17 #include "base/trace_event/trace_log.h"
17 #include "content/public/browser/tracing_controller.h" 18 #include "content/public/browser/tracing_controller.h"
18 #include "content/public/common/content_switches.h" 19 #include "content/public/common/content_switches.h"
19 #include "content/public/test/browser_test_utils.h" 20 #include "content/public/test/browser_test_utils.h"
20 #include "content/public/test/content_browser_test.h" 21 #include "content/public/test/content_browser_test.h"
(...skipping 297 matching lines...) Expand 10 before | Expand all | Expand 10 after
318 EXPECT_CALL(*this, OnMemoryDumpDone(_, true /* success */)); 319 EXPECT_CALL(*this, OnMemoryDumpDone(_, true /* success */));
319 320
320 EnableMemoryTracing(); 321 EnableMemoryTracing();
321 RequestGlobalDumpAndWait(false /* from_renderer_thread */, 322 RequestGlobalDumpAndWait(false /* from_renderer_thread */,
322 MemoryDumpType::EXPLICITLY_TRIGGERED, 323 MemoryDumpType::EXPLICITLY_TRIGGERED,
323 MemoryDumpLevelOfDetail::DETAILED); 324 MemoryDumpLevelOfDetail::DETAILED);
324 DisableTracing(); 325 DisableTracing();
325 } 326 }
326 327
327 } // namespace content 328 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/startup_task_runner_unittest.cc ('k') | content/browser/webui/shared_resources_data_source.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698