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

Side by Side Diff: content/renderer/devtools/v8_sampling_profiler.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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 "content/renderer/devtools/v8_sampling_profiler.h" 5 #include "content/renderer/devtools/v8_sampling_profiler.h"
6 6
7 #include <stdint.h> 7 #include <stdint.h>
8 #include <string.h> 8 #include <string.h>
9 9
10 #include "base/format_macros.h" 10 #include "base/format_macros.h"
11 #include "base/location.h" 11 #include "base/location.h"
12 #include "base/macros.h" 12 #include "base/macros.h"
13 #include "base/strings/stringprintf.h" 13 #include "base/strings/stringprintf.h"
14 #include "base/synchronization/cancellation_flag.h" 14 #include "base/synchronization/cancellation_flag.h"
15 #include "base/thread_task_runner_handle.h"
16 #include "base/threading/platform_thread.h" 15 #include "base/threading/platform_thread.h"
16 #include "base/threading/thread_task_runner_handle.h"
17 #include "base/trace_event/trace_event.h" 17 #include "base/trace_event/trace_event.h"
18 #include "base/trace_event/trace_event_argument.h" 18 #include "base/trace_event/trace_event_argument.h"
19 #include "build/build_config.h" 19 #include "build/build_config.h"
20 #include "content/renderer/devtools/lock_free_circular_queue.h" 20 #include "content/renderer/devtools/lock_free_circular_queue.h"
21 #include "content/renderer/render_thread_impl.h" 21 #include "content/renderer/render_thread_impl.h"
22 #include "v8/include/v8.h" 22 #include "v8/include/v8.h"
23 23
24 #if defined(OS_POSIX) 24 #if defined(OS_POSIX)
25 #include <signal.h> 25 #include <signal.h>
26 #define USE_SIGNALS 26 #define USE_SIGNALS
(...skipping 613 matching lines...) Expand 10 before | Expand all | Expand 10 after
640 render_thread_sampler_->SetEventsToCollectForTest(code_added_events, 640 render_thread_sampler_->SetEventsToCollectForTest(code_added_events,
641 sample_events); 641 sample_events);
642 waitable_event_for_testing_.reset(new base::WaitableEvent(false, false)); 642 waitable_event_for_testing_.reset(new base::WaitableEvent(false, false));
643 } 643 }
644 644
645 void V8SamplingProfiler::WaitSamplingEventForTesting() { 645 void V8SamplingProfiler::WaitSamplingEventForTesting() {
646 waitable_event_for_testing_->Wait(); 646 waitable_event_for_testing_->Wait();
647 } 647 }
648 648
649 } // namespace content 649 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698