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

Side by Side Diff: chrome/renderer/media/cast_session.cc

Issue 1548153002: Switch to standard integer types in chrome/. (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
« no previous file with comments | « chrome/renderer/media/cast_session.h ('k') | chrome/renderer/media/cast_session_delegate.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 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 "chrome/renderer/media/cast_session.h" 5 #include "chrome/renderer/media/cast_session.h"
6 6
7 #include <stddef.h>
8
7 #include "base/single_thread_task_runner.h" 9 #include "base/single_thread_task_runner.h"
8 #include "chrome/renderer/media/cast_session_delegate.h" 10 #include "chrome/renderer/media/cast_session_delegate.h"
9 #include "content/public/renderer/render_thread.h" 11 #include "content/public/renderer/render_thread.h"
10 #include "content/public/renderer/video_encode_accelerator.h" 12 #include "content/public/renderer/video_encode_accelerator.h"
11 #include "media/base/bind_to_current_loop.h" 13 #include "media/base/bind_to_current_loop.h"
12 #include "media/base/video_frame.h" 14 #include "media/base/video_frame.h"
13 #include "media/cast/cast_sender.h" 15 #include "media/cast/cast_sender.h"
14 #include "media/cast/logging/logging_defines.h" 16 #include "media/cast/logging/logging_defines.h"
15 17
16 namespace { 18 namespace {
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
118 120
119 void CastSession::GetStatsAndReset(bool is_audio, 121 void CastSession::GetStatsAndReset(bool is_audio,
120 const StatsCallback& callback) { 122 const StatsCallback& callback) {
121 io_task_runner_->PostTask( 123 io_task_runner_->PostTask(
122 FROM_HERE, 124 FROM_HERE,
123 base::Bind(&CastSessionDelegate::GetStatsAndReset, 125 base::Bind(&CastSessionDelegate::GetStatsAndReset,
124 base::Unretained(delegate_.get()), 126 base::Unretained(delegate_.get()),
125 is_audio, 127 is_audio,
126 media::BindToCurrentLoop(callback))); 128 media::BindToCurrentLoop(callback)));
127 } 129 }
OLDNEW
« no previous file with comments | « chrome/renderer/media/cast_session.h ('k') | chrome/renderer/media/cast_session_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698