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

Side by Side Diff: content/browser/media/capture/desktop_capture_device.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 (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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/browser/media/capture/desktop_capture_device.h" 5 #include "content/browser/media/capture/desktop_capture_device.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 #include <stdint.h> 8 #include <stdint.h>
9 #include <string.h> 9 #include <string.h>
10 #include <utility> 10 #include <utility>
11 11
12 #include "base/bind.h" 12 #include "base/bind.h"
13 #include "base/feature_list.h" 13 #include "base/feature_list.h"
14 #include "base/location.h" 14 #include "base/location.h"
15 #include "base/logging.h" 15 #include "base/logging.h"
16 #include "base/macros.h" 16 #include "base/macros.h"
17 #include "base/message_loop/message_loop.h" 17 #include "base/message_loop/message_loop.h"
18 #include "base/metrics/histogram_macros.h" 18 #include "base/metrics/histogram_macros.h"
19 #include "base/single_thread_task_runner.h"
19 #include "base/strings/string_number_conversions.h" 20 #include "base/strings/string_number_conversions.h"
20 #include "base/synchronization/lock.h" 21 #include "base/synchronization/lock.h"
21 #include "base/threading/thread.h" 22 #include "base/threading/thread.h"
22 #include "base/threading/thread_restrictions.h" 23 #include "base/threading/thread_restrictions.h"
23 #include "base/timer/timer.h" 24 #include "base/timer/timer.h"
24 #include "build/build_config.h" 25 #include "build/build_config.h"
25 #include "content/browser/media/capture/desktop_capture_device_uma_types.h" 26 #include "content/browser/media/capture/desktop_capture_device_uma_types.h"
26 #include "content/public/browser/browser_thread.h" 27 #include "content/public/browser/browser_thread.h"
27 #include "content/public/browser/desktop_media_id.h" 28 #include "content/public/browser/desktop_media_id.h"
28 #include "content/public/common/content_switches.h" 29 #include "content/public/common/content_switches.h"
(...skipping 436 matching lines...) Expand 10 before | Expand all | Expand 10 after
465 #else 466 #else
466 base::MessageLoop::Type thread_type = base::MessageLoop::TYPE_DEFAULT; 467 base::MessageLoop::Type thread_type = base::MessageLoop::TYPE_DEFAULT;
467 #endif 468 #endif
468 469
469 thread_.StartWithOptions(base::Thread::Options(thread_type, 0)); 470 thread_.StartWithOptions(base::Thread::Options(thread_type, 0));
470 471
471 core_.reset(new Core(thread_.task_runner(), std::move(capturer), type)); 472 core_.reset(new Core(thread_.task_runner(), std::move(capturer), type));
472 } 473 }
473 474
474 } // namespace content 475 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/gpu/shader_cache_factory.h ('k') | content/browser/net/quota_policy_cookie_store.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698