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

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

Issue 10383262: RefCounted types should not have public destructors, delegate cleanup (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Make win bot happy Created 8 years, 6 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 | Annotate | Revision Log
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 #pragma once 7 #pragma once
8 8
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
11 #include "content/browser/ppapi_plugin_process_host.h" 11 #include "content/browser/ppapi_plugin_process_host.h"
12 #include "content/public/browser/pepper_flash_settings_helper.h" 12 #include "content/public/browser/pepper_flash_settings_helper.h"
13 13
14 namespace content { 14 namespace content {
15 15
16 class CONTENT_EXPORT PepperFlashSettingsHelperImpl 16 class CONTENT_EXPORT PepperFlashSettingsHelperImpl
17 : public PepperFlashSettingsHelper, 17 : public PepperFlashSettingsHelper,
18 public PpapiPluginProcessHost::BrokerClient { 18 NON_EXPORTED_BASE(public PpapiPluginProcessHost::BrokerClient) {
19 public: 19 public:
20 PepperFlashSettingsHelperImpl(); 20 PepperFlashSettingsHelperImpl();
21 21
22 // PepperFlashSettingsHelper implementation. 22 // PepperFlashSettingsHelper implementation.
23 virtual void OpenChannelToBroker( 23 virtual void OpenChannelToBroker(
24 const FilePath& path, 24 const FilePath& path,
25 const OpenChannelCallback& callback) OVERRIDE; 25 const OpenChannelCallback& callback) OVERRIDE;
26 26
27 // PpapiPluginProcessHost::BrokerClient implementation. 27 // PpapiPluginProcessHost::BrokerClient implementation.
28 virtual void GetPpapiChannelInfo(base::ProcessHandle* renderer_handle, 28 virtual void GetPpapiChannelInfo(base::ProcessHandle* renderer_handle,
29 int* renderer_id) OVERRIDE; 29 int* renderer_id) OVERRIDE;
30 virtual void OnPpapiChannelOpened(const IPC::ChannelHandle& channel_handle, 30 virtual void OnPpapiChannelOpened(const IPC::ChannelHandle& channel_handle,
31 int plugin_child_id) OVERRIDE; 31 int plugin_child_id) OVERRIDE;
32 virtual bool OffTheRecord() OVERRIDE; 32 virtual bool OffTheRecord() OVERRIDE;
33 33
34 protected: 34 protected:
35 virtual ~PepperFlashSettingsHelperImpl(); 35 virtual ~PepperFlashSettingsHelperImpl();
36 36
37 private: 37 private:
38 OpenChannelCallback callback_; 38 OpenChannelCallback callback_;
39 DISALLOW_COPY_AND_ASSIGN(PepperFlashSettingsHelperImpl); 39 DISALLOW_COPY_AND_ASSIGN(PepperFlashSettingsHelperImpl);
40 }; 40 };
41 41
42 } // namespace content 42 } // namespace content
43 43
44 #endif // CONTENT_BROWSER_PEPPER_FLASH_SETTINGS_HELPER_IMPL_H_ 44 #endif // CONTENT_BROWSER_PEPPER_FLASH_SETTINGS_HELPER_IMPL_H_
OLDNEW
« no previous file with comments | « content/browser/download/download_item_impl.h ('k') | content/browser/ppapi_plugin_process_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698