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

Side by Side Diff: chromecast/media/cma/ipc_streamer/av_streamer_unittest.cc

Issue 630663003: replace OVERRIDE and FINAL with override and final in chromecast/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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 #include <list> 5 #include <list>
6 #include <vector> 6 #include <vector>
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/memory/ref_counted.h" 10 #include "base/memory/ref_counted.h"
(...skipping 17 matching lines...) Expand all
28 namespace media { 28 namespace media {
29 29
30 namespace { 30 namespace {
31 31
32 class FifoMemoryChunk : public MediaMemoryChunk { 32 class FifoMemoryChunk : public MediaMemoryChunk {
33 public: 33 public:
34 FifoMemoryChunk(void* mem, size_t size) 34 FifoMemoryChunk(void* mem, size_t size)
35 : mem_(mem), size_(size) {} 35 : mem_(mem), size_(size) {}
36 virtual ~FifoMemoryChunk() {} 36 virtual ~FifoMemoryChunk() {}
37 37
38 virtual void* data() const OVERRIDE { return mem_; } 38 virtual void* data() const override { return mem_; }
39 virtual size_t size() const OVERRIDE { return size_; } 39 virtual size_t size() const override { return size_; }
40 virtual bool valid() const OVERRIDE { return true; } 40 virtual bool valid() const override { return true; }
41 41
42 private: 42 private:
43 void* mem_; 43 void* mem_;
44 size_t size_; 44 size_t size_;
45 45
46 DISALLOW_COPY_AND_ASSIGN(FifoMemoryChunk); 46 DISALLOW_COPY_AND_ASSIGN(FifoMemoryChunk);
47 }; 47 };
48 48
49 } // namespace 49 } // namespace
50 50
(...skipping 193 matching lines...) Expand 10 before | Expand all | Expand 10 after
244 244
245 scoped_ptr<base::MessageLoop> message_loop(new base::MessageLoop()); 245 scoped_ptr<base::MessageLoop> message_loop(new base::MessageLoop());
246 message_loop->PostTask( 246 message_loop->PostTask(
247 FROM_HERE, 247 FROM_HERE,
248 base::Bind(&AvStreamerTest::Start, base::Unretained(this))); 248 base::Bind(&AvStreamerTest::Start, base::Unretained(this)));
249 message_loop->Run(); 249 message_loop->Run();
250 }; 250 };
251 251
252 } // namespace media 252 } // namespace media
253 } // namespace chromecast 253 } // namespace chromecast
OLDNEW
« no previous file with comments | « chromecast/media/cma/ipc/media_message_unittest.cc ('k') | chromecast/media/cma/ipc_streamer/coded_frame_provider_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698