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

Side by Side Diff: components/nacl/renderer/nacl_helper.h

Issue 623133002: replace OVERRIDE and FINAL with override and final in components/ (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 #ifndef COMPONENTS_NACL_RENDERER_NACL_HELPER_H_ 5 #ifndef COMPONENTS_NACL_RENDERER_NACL_HELPER_H_
6 #define COMPONENTS_NACL_RENDERER_NACL_HELPER_H_ 6 #define COMPONENTS_NACL_RENDERER_NACL_HELPER_H_
7 7
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "content/public/renderer/render_frame_observer.h" 9 #include "content/public/renderer/render_frame_observer.h"
10 10
11 namespace nacl { 11 namespace nacl {
12 12
13 // This class listens for Pepper creation events from the RenderFrame. For the 13 // This class listens for Pepper creation events from the RenderFrame. For the
14 // NaCl trusted plugin, it configures it as an external plugin host. 14 // NaCl trusted plugin, it configures it as an external plugin host.
15 // TODO(dmichael): When the trusted plugin goes away, we need to figure out the 15 // TODO(dmichael): When the trusted plugin goes away, we need to figure out the
16 // right event to watch for. 16 // right event to watch for.
17 class NaClHelper : public content::RenderFrameObserver { 17 class NaClHelper : public content::RenderFrameObserver {
18 public: 18 public:
19 explicit NaClHelper(content::RenderFrame* render_frame); 19 explicit NaClHelper(content::RenderFrame* render_frame);
20 virtual ~NaClHelper(); 20 virtual ~NaClHelper();
21 21
22 // RenderFrameObserver. 22 // RenderFrameObserver.
23 virtual void DidCreatePepperPlugin(content::RendererPpapiHost* host) OVERRIDE; 23 virtual void DidCreatePepperPlugin(content::RendererPpapiHost* host) override;
24 24
25 private: 25 private:
26 DISALLOW_COPY_AND_ASSIGN(NaClHelper); 26 DISALLOW_COPY_AND_ASSIGN(NaClHelper);
27 }; 27 };
28 28
29 } // namespace nacl 29 } // namespace nacl
30 30
31 #endif // COMPONENTS_NACL_RENDERER_NACL_HELPER_H_ 31 #endif // COMPONENTS_NACL_RENDERER_NACL_HELPER_H_
OLDNEW
« no previous file with comments | « components/nacl/renderer/manifest_service_channel.h ('k') | components/nacl/renderer/pnacl_translation_resource_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698