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

Side by Side Diff: content/browser/media/capture/web_contents_video_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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 // Implementation notes: This needs to work on a variety of hardware 5 // Implementation notes: This needs to work on a variety of hardware
6 // configurations where the speed of the CPU and GPU greatly affect overall 6 // configurations where the speed of the CPU and GPU greatly affect overall
7 // performance. Spanning several threads, the process of capturing has been 7 // performance. Spanning several threads, the process of capturing has been
8 // split up into four conceptual stages: 8 // split up into four conceptual stages:
9 // 9 //
10 // 1. Reserve Buffer: Before a frame can be captured, a slot in the client's 10 // 1. Reserve Buffer: Before a frame can be captured, a slot in the client's
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 #include <algorithm> 55 #include <algorithm>
56 #include <memory> 56 #include <memory>
57 #include <utility> 57 #include <utility>
58 58
59 #include "base/bind.h" 59 #include "base/bind.h"
60 #include "base/callback_helpers.h" 60 #include "base/callback_helpers.h"
61 #include "base/location.h" 61 #include "base/location.h"
62 #include "base/logging.h" 62 #include "base/logging.h"
63 #include "base/macros.h" 63 #include "base/macros.h"
64 #include "base/memory/weak_ptr.h" 64 #include "base/memory/weak_ptr.h"
65 #include "base/metrics/histogram.h" 65 #include "base/metrics/histogram_macros.h"
66 #include "base/sequenced_task_runner.h" 66 #include "base/sequenced_task_runner.h"
67 #include "base/single_thread_task_runner.h" 67 #include "base/single_thread_task_runner.h"
68 #include "base/threading/thread.h" 68 #include "base/threading/thread.h"
69 #include "base/threading/thread_checker.h" 69 #include "base/threading/thread_checker.h"
70 #include "base/time/time.h" 70 #include "base/time/time.h"
71 #include "build/build_config.h" 71 #include "build/build_config.h"
72 #include "content/browser/media/capture/cursor_renderer.h" 72 #include "content/browser/media/capture/cursor_renderer.h"
73 #include "content/browser/media/capture/web_contents_tracker.h" 73 #include "content/browser/media/capture/web_contents_tracker.h"
74 #include "content/browser/media/capture/window_activity_tracker.h" 74 #include "content/browser/media/capture/window_activity_tracker.h"
75 #include "content/browser/renderer_host/render_widget_host_impl.h" 75 #include "content/browser/renderer_host/render_widget_host_impl.h"
(...skipping 898 matching lines...) Expand 10 before | Expand all | Expand 10 after
974 974
975 void WebContentsVideoCaptureDevice::RequestRefreshFrame() { 975 void WebContentsVideoCaptureDevice::RequestRefreshFrame() {
976 core_->RequestRefreshFrame(); 976 core_->RequestRefreshFrame();
977 } 977 }
978 978
979 void WebContentsVideoCaptureDevice::StopAndDeAllocate() { 979 void WebContentsVideoCaptureDevice::StopAndDeAllocate() {
980 core_->StopAndDeAllocate(); 980 core_->StopAndDeAllocate();
981 } 981 }
982 982
983 } // namespace content 983 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/media/capture/desktop_capture_device.cc ('k') | content/browser/plugin_data_remover_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698