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

Side by Side Diff: media/cast/net/pacing/paced_sender.h

Issue 1905763002: Convert //media/cast from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 #ifndef MEDIA_CAST_NET_PACING_PACED_SENDER_H_ 5 #ifndef MEDIA_CAST_NET_PACING_PACED_SENDER_H_
6 #define MEDIA_CAST_NET_PACING_PACED_SENDER_H_ 6 #define MEDIA_CAST_NET_PACING_PACED_SENDER_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
11 #include <map> 11 #include <map>
12 #include <memory>
12 #include <tuple> 13 #include <tuple>
13 #include <vector> 14 #include <vector>
14 15
15 #include "base/macros.h" 16 #include "base/macros.h"
16 #include "base/memory/scoped_ptr.h"
17 #include "base/memory/weak_ptr.h" 17 #include "base/memory/weak_ptr.h"
18 #include "base/single_thread_task_runner.h" 18 #include "base/single_thread_task_runner.h"
19 #include "base/threading/non_thread_safe.h" 19 #include "base/threading/non_thread_safe.h"
20 #include "base/time/default_tick_clock.h" 20 #include "base/time/default_tick_clock.h"
21 #include "base/time/tick_clock.h" 21 #include "base/time/tick_clock.h"
22 #include "base/time/time.h" 22 #include "base/time/time.h"
23 #include "media/cast/logging/logging_defines.h" 23 #include "media/cast/logging/logging_defines.h"
24 #include "media/cast/net/cast_transport_config.h" 24 #include "media/cast/net/cast_transport_config.h"
25 25
26 namespace media { 26 namespace media {
(...skipping 223 matching lines...) Expand 10 before | Expand all | Expand 10 after
250 // NOTE: Weak pointers must be invalidated before all other member variables. 250 // NOTE: Weak pointers must be invalidated before all other member variables.
251 base::WeakPtrFactory<PacedSender> weak_factory_; 251 base::WeakPtrFactory<PacedSender> weak_factory_;
252 252
253 DISALLOW_COPY_AND_ASSIGN(PacedSender); 253 DISALLOW_COPY_AND_ASSIGN(PacedSender);
254 }; 254 };
255 255
256 } // namespace cast 256 } // namespace cast
257 } // namespace media 257 } // namespace media
258 258
259 #endif // MEDIA_CAST_NET_PACING_PACED_SENDER_H_ 259 #endif // MEDIA_CAST_NET_PACING_PACED_SENDER_H_
OLDNEW
« no previous file with comments | « media/cast/net/cast_transport_impl_unittest.cc ('k') | media/cast/net/pacing/paced_sender_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698