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

Side by Side Diff: content/renderer/media/canvas_capture_handler.cc

Issue 1547073003: Switch to standard integer types in content/renderer/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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 "content/renderer/media/canvas_capture_handler.h" 5 #include "content/renderer/media/canvas_capture_handler.h"
6 6
7 #include "base/base64.h" 7 #include "base/base64.h"
8 #include "base/bind_helpers.h" 8 #include "base/bind_helpers.h"
9 #include "base/macros.h"
9 #include "base/rand_util.h" 10 #include "base/rand_util.h"
10 #include "base/strings/utf_string_conversions.h" 11 #include "base/strings/utf_string_conversions.h"
11 #include "content/public/renderer/render_thread.h" 12 #include "content/public/renderer/render_thread.h"
12 #include "content/renderer/media/media_stream_video_capturer_source.h" 13 #include "content/renderer/media/media_stream_video_capturer_source.h"
13 #include "content/renderer/media/media_stream_video_source.h" 14 #include "content/renderer/media/media_stream_video_source.h"
14 #include "content/renderer/media/media_stream_video_track.h" 15 #include "content/renderer/media/media_stream_video_track.h"
15 #include "content/renderer/render_thread_impl.h" 16 #include "content/renderer/render_thread_impl.h"
16 #include "third_party/WebKit/public/platform/WebMediaStreamSource.h" 17 #include "third_party/WebKit/public/platform/WebMediaStreamSource.h"
17 #include "third_party/WebKit/public/platform/WebString.h" 18 #include "third_party/WebKit/public/platform/WebString.h"
18 #include "third_party/libyuv/include/libyuv.h" 19 #include "third_party/libyuv/include/libyuv.h"
(...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after
198 199
199 web_track->initialize(webkit_source); 200 web_track->initialize(webkit_source);
200 blink::WebMediaConstraints constraints; 201 blink::WebMediaConstraints constraints;
201 constraints.initialize(); 202 constraints.initialize();
202 web_track->setExtraData(new MediaStreamVideoTrack( 203 web_track->setExtraData(new MediaStreamVideoTrack(
203 media_stream_source.release(), constraints, 204 media_stream_source.release(), constraints,
204 MediaStreamVideoSource::ConstraintsCallback(), true)); 205 MediaStreamVideoSource::ConstraintsCallback(), true));
205 } 206 }
206 207
207 } // namespace content 208 } // namespace content
OLDNEW
« no previous file with comments | « content/renderer/media/canvas_capture_handler.h ('k') | content/renderer/media/cdm/ppapi_decryptor.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698