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

Side by Side Diff: content/browser/media/capture/desktop_capture_device.cc

Issue 2293583002: Change includes of histogram.h to histogram_macros.h. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 3 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/location.h" 13 #include "base/location.h"
14 #include "base/logging.h" 14 #include "base/logging.h"
15 #include "base/macros.h" 15 #include "base/macros.h"
16 #include "base/metrics/histogram.h" 16 #include "base/metrics/histogram_macros.h"
17 #include "base/strings/string_number_conversions.h" 17 #include "base/strings/string_number_conversions.h"
18 #include "base/synchronization/lock.h" 18 #include "base/synchronization/lock.h"
19 #include "base/threading/thread.h" 19 #include "base/threading/thread.h"
20 #include "base/timer/timer.h" 20 #include "base/timer/timer.h"
21 #include "build/build_config.h" 21 #include "build/build_config.h"
22 #include "content/browser/media/capture/desktop_capture_device_uma_types.h" 22 #include "content/browser/media/capture/desktop_capture_device_uma_types.h"
23 #include "content/public/browser/browser_thread.h" 23 #include "content/public/browser/browser_thread.h"
24 #include "content/public/browser/desktop_media_id.h" 24 #include "content/public/browser/desktop_media_id.h"
25 #include "device/power_save_blocker/power_save_blocker.h" 25 #include "device/power_save_blocker/power_save_blocker.h"
26 #include "media/base/video_util.h" 26 #include "media/base/video_util.h"
(...skipping 423 matching lines...) Expand 10 before | Expand all | Expand 10 after
450 #else 450 #else
451 base::MessageLoop::Type thread_type = base::MessageLoop::TYPE_DEFAULT; 451 base::MessageLoop::Type thread_type = base::MessageLoop::TYPE_DEFAULT;
452 #endif 452 #endif
453 453
454 thread_.StartWithOptions(base::Thread::Options(thread_type, 0)); 454 thread_.StartWithOptions(base::Thread::Options(thread_type, 0));
455 455
456 core_.reset(new Core(thread_.task_runner(), std::move(capturer), type)); 456 core_.reset(new Core(thread_.task_runner(), std::move(capturer), type));
457 } 457 }
458 458
459 } // namespace content 459 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/loader/resource_loader.cc ('k') | content/browser/media/capture/web_contents_video_capture_device.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698