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

Side by Side Diff: content/renderer/media/remote_media_stream_impl.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 (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/renderer/media/remote_media_stream_impl.h" 5 #include "content/renderer/media/remote_media_stream_impl.h"
6 6
7 #include <stddef.h>
8
7 #include <string> 9 #include <string>
8 #include <vector> 10 #include <vector>
9 11
10 #include "base/bind.h" 12 #include "base/bind.h"
11 #include "base/location.h" 13 #include "base/location.h"
12 #include "base/logging.h" 14 #include "base/logging.h"
15 #include "base/macros.h"
13 #include "base/strings/utf_string_conversions.h" 16 #include "base/strings/utf_string_conversions.h"
14 #include "base/thread_task_runner_handle.h" 17 #include "base/thread_task_runner_handle.h"
15 #include "content/renderer/media/media_stream.h" 18 #include "content/renderer/media/media_stream.h"
16 #include "content/renderer/media/media_stream_track.h" 19 #include "content/renderer/media/media_stream_track.h"
17 #include "content/renderer/media/media_stream_video_track.h" 20 #include "content/renderer/media/media_stream_video_track.h"
18 #include "content/renderer/media/webrtc/media_stream_remote_audio_track.h" 21 #include "content/renderer/media/webrtc/media_stream_remote_audio_track.h"
19 #include "content/renderer/media/webrtc/media_stream_remote_video_source.h" 22 #include "content/renderer/media/webrtc/media_stream_remote_video_source.h"
20 #include "content/renderer/media/webrtc/peer_connection_dependency_factory.h" 23 #include "content/renderer/media/webrtc/peer_connection_dependency_factory.h"
21 #include "content/renderer/media/webrtc/track_observer.h" 24 #include "content/renderer/media/webrtc/track_observer.h"
22 #include "third_party/WebKit/public/platform/WebMediaStreamSource.h" 25 #include "third_party/WebKit/public/platform/WebMediaStreamSource.h"
(...skipping 399 matching lines...) Expand 10 before | Expand all | Expand 10 after
422 // Unregister all the audio track observers that were not used. 425 // Unregister all the audio track observers that were not used.
423 // We need to do this before destruction since the observers can't unregister 426 // We need to do this before destruction since the observers can't unregister
424 // from within the dtor due to a race. 427 // from within the dtor due to a race.
425 for (auto& track : *audio_tracks.get()) { 428 for (auto& track : *audio_tracks.get()) {
426 if (track.get()) 429 if (track.get())
427 track->Unregister(); 430 track->Unregister();
428 } 431 }
429 } 432 }
430 433
431 } // namespace content 434 } // namespace content
OLDNEW
« no previous file with comments | « content/renderer/media/remote_media_stream_impl.h ('k') | content/renderer/media/render_media_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698