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

Side by Side Diff: content/renderer/pepper/pepper_video_destination_host.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_PEPPER_PEPPER_VIDEO_DESTINATION_HOST_H_ 5 #ifndef CONTENT_RENDERER_PEPPER_PEPPER_VIDEO_DESTINATION_HOST_H_
6 #define CONTENT_RENDERER_PEPPER_PEPPER_VIDEO_DESTINATION_HOST_H_ 6 #define CONTENT_RENDERER_PEPPER_PEPPER_VIDEO_DESTINATION_HOST_H_
7 7
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "base/memory/weak_ptr.h" 10 #include "base/memory/weak_ptr.h"
(...skipping 10 matching lines...) Expand all
21 : public ppapi::host::ResourceHost { 21 : public ppapi::host::ResourceHost {
22 public: 22 public:
23 PepperVideoDestinationHost(RendererPpapiHost* host, 23 PepperVideoDestinationHost(RendererPpapiHost* host,
24 PP_Instance instance, 24 PP_Instance instance,
25 PP_Resource resource); 25 PP_Resource resource);
26 26
27 virtual ~PepperVideoDestinationHost(); 27 virtual ~PepperVideoDestinationHost();
28 28
29 virtual int32_t OnResourceMessageReceived( 29 virtual int32_t OnResourceMessageReceived(
30 const IPC::Message& msg, 30 const IPC::Message& msg,
31 ppapi::host::HostMessageContext* context) OVERRIDE; 31 ppapi::host::HostMessageContext* context) override;
32 32
33 private: 33 private:
34 int32_t OnHostMsgOpen(ppapi::host::HostMessageContext* context, 34 int32_t OnHostMsgOpen(ppapi::host::HostMessageContext* context,
35 const std::string& stream_url); 35 const std::string& stream_url);
36 int32_t OnHostMsgPutFrame(ppapi::host::HostMessageContext* context, 36 int32_t OnHostMsgPutFrame(ppapi::host::HostMessageContext* context,
37 const ppapi::HostResource& image_data_resource, 37 const ppapi::HostResource& image_data_resource,
38 PP_TimeTicks timestamp); 38 PP_TimeTicks timestamp);
39 int32_t OnHostMsgClose(ppapi::host::HostMessageContext* context); 39 int32_t OnHostMsgClose(ppapi::host::HostMessageContext* context);
40 40
41 RendererPpapiHost* renderer_ppapi_host_; 41 RendererPpapiHost* renderer_ppapi_host_;
42 42
43 scoped_ptr<FrameWriterInterface> frame_writer_; 43 scoped_ptr<FrameWriterInterface> frame_writer_;
44 44
45 base::WeakPtrFactory<PepperVideoDestinationHost> weak_factory_; 45 base::WeakPtrFactory<PepperVideoDestinationHost> weak_factory_;
46 46
47 DISALLOW_COPY_AND_ASSIGN(PepperVideoDestinationHost); 47 DISALLOW_COPY_AND_ASSIGN(PepperVideoDestinationHost);
48 }; 48 };
49 49
50 } // namespace content 50 } // namespace content
51 51
52 #endif // CONTENT_RENDERER_PEPPER_PEPPER_VIDEO_DESTINATION_HOST_H_ 52 #endif // CONTENT_RENDERER_PEPPER_PEPPER_VIDEO_DESTINATION_HOST_H_
OLDNEW
« no previous file with comments | « content/renderer/pepper/pepper_video_decoder_host.h ('k') | content/renderer/pepper/pepper_video_source_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698