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

Side by Side Diff: content/browser/pepper_flash_settings_helper_impl.h

Issue 667943003: Standardize usage of virtual/override/final in content/browser/ (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_BROWSER_PEPPER_FLASH_SETTINGS_HELPER_IMPL_H_ 5 #ifndef CONTENT_BROWSER_PEPPER_FLASH_SETTINGS_HELPER_IMPL_H_
6 #define CONTENT_BROWSER_PEPPER_FLASH_SETTINGS_HELPER_IMPL_H_ 6 #define CONTENT_BROWSER_PEPPER_FLASH_SETTINGS_HELPER_IMPL_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "content/browser/ppapi_plugin_process_host.h" 10 #include "content/browser/ppapi_plugin_process_host.h"
11 #include "content/public/browser/pepper_flash_settings_helper.h" 11 #include "content/public/browser/pepper_flash_settings_helper.h"
12 12
13 namespace content { 13 namespace content {
14 14
15 class CONTENT_EXPORT PepperFlashSettingsHelperImpl 15 class CONTENT_EXPORT PepperFlashSettingsHelperImpl
16 : public PepperFlashSettingsHelper, 16 : public PepperFlashSettingsHelper,
17 NON_EXPORTED_BASE(public PpapiPluginProcessHost::BrokerClient) { 17 NON_EXPORTED_BASE(public PpapiPluginProcessHost::BrokerClient) {
18 public: 18 public:
19 PepperFlashSettingsHelperImpl(); 19 PepperFlashSettingsHelperImpl();
20 20
21 // PepperFlashSettingsHelper implementation. 21 // PepperFlashSettingsHelper implementation.
22 virtual void OpenChannelToBroker( 22 void OpenChannelToBroker(const base::FilePath& path,
23 const base::FilePath& path, 23 const OpenChannelCallback& callback) override;
24 const OpenChannelCallback& callback) override;
25 24
26 // PpapiPluginProcessHost::BrokerClient implementation. 25 // PpapiPluginProcessHost::BrokerClient implementation.
27 virtual void GetPpapiChannelInfo(base::ProcessHandle* renderer_handle, 26 void GetPpapiChannelInfo(base::ProcessHandle* renderer_handle,
28 int* renderer_id) override; 27 int* renderer_id) override;
29 virtual void OnPpapiChannelOpened(const IPC::ChannelHandle& channel_handle, 28 void OnPpapiChannelOpened(const IPC::ChannelHandle& channel_handle,
30 base::ProcessId plugin_pid, 29 base::ProcessId plugin_pid,
31 int plugin_child_id) override; 30 int plugin_child_id) override;
32 virtual bool OffTheRecord() override; 31 bool OffTheRecord() override;
33 32
34 protected: 33 protected:
35 virtual ~PepperFlashSettingsHelperImpl(); 34 ~PepperFlashSettingsHelperImpl() override;
36 35
37 private: 36 private:
38 OpenChannelCallback callback_; 37 OpenChannelCallback callback_;
39 DISALLOW_COPY_AND_ASSIGN(PepperFlashSettingsHelperImpl); 38 DISALLOW_COPY_AND_ASSIGN(PepperFlashSettingsHelperImpl);
40 }; 39 };
41 40
42 } // namespace content 41 } // namespace content
43 42
44 #endif // CONTENT_BROWSER_PEPPER_FLASH_SETTINGS_HELPER_IMPL_H_ 43 #endif // CONTENT_BROWSER_PEPPER_FLASH_SETTINGS_HELPER_IMPL_H_
OLDNEW
« no previous file with comments | « content/browser/notification_service_impl_unittest.cc ('k') | content/browser/plugin_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698