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

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

Issue 1967823004: Fix include path for moved thread_task_runner_handle.h header in content/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@a1_move_task_runner_handle
Patch Set: Created 4 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/command_line.h" 8 #include "base/command_line.h"
9 #include "base/run_loop.h" 9 #include "base/run_loop.h"
10 #include "base/thread_task_runner_handle.h" 10 #include "base/threading/thread_task_runner_handle.h"
11 #include "base/trace_event/memory_dump_manager.h" 11 #include "base/trace_event/memory_dump_manager.h"
12 #include "base/trace_event/memory_dump_provider.h" 12 #include "base/trace_event/memory_dump_provider.h"
13 #include "base/trace_event/memory_dump_request_args.h" 13 #include "base/trace_event/memory_dump_request_args.h"
14 #include "base/trace_event/trace_config_memory_test_util.h" 14 #include "base/trace_event/trace_config_memory_test_util.h"
15 #include "content/public/browser/tracing_controller.h" 15 #include "content/public/browser/tracing_controller.h"
16 #include "content/public/common/content_switches.h" 16 #include "content/public/common/content_switches.h"
17 #include "content/public/test/browser_test_utils.h" 17 #include "content/public/test/browser_test_utils.h"
18 #include "content/public/test/content_browser_test.h" 18 #include "content/public/test/content_browser_test.h"
19 #include "content/public/test/content_browser_test_utils.h" 19 #include "content/public/test/content_browser_test_utils.h"
20 #include "content/shell/browser/shell.h" 20 #include "content/shell/browser/shell.h"
(...skipping 202 matching lines...) Expand 10 before | Expand all | Expand 10 after
223 223
224 EnableMemoryTracing(); 224 EnableMemoryTracing();
225 RequestGlobalDumpAndWait(false /* from_renderer_thread */); 225 RequestGlobalDumpAndWait(false /* from_renderer_thread */);
226 EXPECT_EQ(1u, callback_call_count_); 226 EXPECT_EQ(1u, callback_call_count_);
227 EXPECT_NE(0u, last_callback_dump_guid_); 227 EXPECT_NE(0u, last_callback_dump_guid_);
228 EXPECT_TRUE(last_callback_success_); 228 EXPECT_TRUE(last_callback_success_);
229 DisableTracing(); 229 DisableTracing();
230 } 230 }
231 231
232 } // namespace content 232 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/tracing/etw_tracing_agent_win.cc ('k') | content/browser/tracing/power_tracing_agent.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698