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

Side by Side Diff: content/renderer/pepper/content_renderer_pepper_host_factory.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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_CONTENT_RENDERER_PEPPER_HOST_FACTORY_H_ 5 #ifndef CONTENT_RENDERER_PEPPER_CONTENT_RENDERER_PEPPER_HOST_FACTORY_H_
6 #define CONTENT_RENDERER_PEPPER_CONTENT_RENDERER_PEPPER_HOST_FACTORY_H_ 6 #define CONTENT_RENDERER_PEPPER_CONTENT_RENDERER_PEPPER_HOST_FACTORY_H_
7 7
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "ppapi/host/host_factory.h" 9 #include "ppapi/host/host_factory.h"
10 #include "ppapi/shared_impl/ppapi_permissions.h" 10 #include "ppapi/shared_impl/ppapi_permissions.h"
11 11
12 namespace ppapi { 12 namespace ppapi {
13 class PpapiPermissions; 13 class PpapiPermissions;
14 } 14 }
15 15
16 namespace content { 16 namespace content {
17 class PepperInstanceStateAccessor; 17 class PepperInstanceStateAccessor;
18 class RendererPpapiHostImpl; 18 class RendererPpapiHostImpl;
19 class RenderViewImpl; 19 class RenderViewImpl;
20 20
21 class ContentRendererPepperHostFactory : public ppapi::host::HostFactory { 21 class ContentRendererPepperHostFactory : public ppapi::host::HostFactory {
22 public: 22 public:
23 explicit ContentRendererPepperHostFactory(RendererPpapiHostImpl* host); 23 explicit ContentRendererPepperHostFactory(RendererPpapiHostImpl* host);
24 virtual ~ContentRendererPepperHostFactory(); 24 virtual ~ContentRendererPepperHostFactory();
25 25
26 virtual scoped_ptr<ppapi::host::ResourceHost> CreateResourceHost( 26 virtual scoped_ptr<ppapi::host::ResourceHost> CreateResourceHost(
27 ppapi::host::PpapiHost* host, 27 ppapi::host::PpapiHost* host,
28 const ppapi::proxy::ResourceMessageCallParams& params, 28 const ppapi::proxy::ResourceMessageCallParams& params,
29 PP_Instance instance, 29 PP_Instance instance,
30 const IPC::Message& message) OVERRIDE; 30 const IPC::Message& message) override;
31 31
32 private: 32 private:
33 const ppapi::PpapiPermissions& GetPermissions() const; 33 const ppapi::PpapiPermissions& GetPermissions() const;
34 34
35 // Non-owning pointer. 35 // Non-owning pointer.
36 RendererPpapiHostImpl* host_; 36 RendererPpapiHostImpl* host_;
37 37
38 DISALLOW_COPY_AND_ASSIGN(ContentRendererPepperHostFactory); 38 DISALLOW_COPY_AND_ASSIGN(ContentRendererPepperHostFactory);
39 }; 39 };
40 40
41 } // namespace content 41 } // namespace content
42 42
43 #endif // CONTENT_RENDERER_PEPPER_CONTENT_RENDERER_PEPPER_HOST_FACTORY_H_ 43 #endif // CONTENT_RENDERER_PEPPER_CONTENT_RENDERER_PEPPER_HOST_FACTORY_H_
OLDNEW
« no previous file with comments | « content/renderer/p2p/socket_dispatcher.h ('k') | content/renderer/pepper/fake_pepper_plugin_instance.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698