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

Side by Side Diff: content/renderer/media/mock_media_stream_registry.h

Issue 633303002: Replace FINAL and OVERRIDE with their C++11 counterparts in content/renderer (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 (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 #ifndef CONTENT_RENDERER_MEDIA_MOCK_MEDIA_STREAM_REGISTRY_H_ 5 #ifndef CONTENT_RENDERER_MEDIA_MOCK_MEDIA_STREAM_REGISTRY_H_
6 #define CONTENT_RENDERER_MEDIA_MOCK_MEDIA_STREAM_REGISTRY_H_ 6 #define CONTENT_RENDERER_MEDIA_MOCK_MEDIA_STREAM_REGISTRY_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
11 #include "content/renderer/media/media_stream_registry_interface.h" 11 #include "content/renderer/media/media_stream_registry_interface.h"
12 12
13 namespace content { 13 namespace content {
14 14
15 class MockMediaStreamRegistry : public MediaStreamRegistryInterface { 15 class MockMediaStreamRegistry : public MediaStreamRegistryInterface {
16 public: 16 public:
17 MockMediaStreamRegistry(); 17 MockMediaStreamRegistry();
18 18
19 void Init(const std::string& stream_label); 19 void Init(const std::string& stream_label);
20 void AddVideoTrack(const std::string& track_id); 20 void AddVideoTrack(const std::string& track_id);
21 virtual blink::WebMediaStream GetMediaStream( 21 virtual blink::WebMediaStream GetMediaStream(
22 const std::string& url) OVERRIDE; 22 const std::string& url) override;
23 23
24 const blink::WebMediaStream test_stream() const; 24 const blink::WebMediaStream test_stream() const;
25 25
26 private: 26 private:
27 blink::WebMediaStream test_stream_; 27 blink::WebMediaStream test_stream_;
28 std::string stream_url_; 28 std::string stream_url_;
29 }; 29 };
30 30
31 } // namespace content 31 } // namespace content
32 32
33 #endif // CONTENT_RENDERER_MEDIA_MOCK_MEDIA_STREAM_REGISTRY_H_ 33 #endif // CONTENT_RENDERER_MEDIA_MOCK_MEDIA_STREAM_REGISTRY_H_
OLDNEW
« no previous file with comments | « content/renderer/media/mock_media_stream_dispatcher.h ('k') | content/renderer/media/mock_media_stream_video_sink.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698