| OLD | NEW |
| 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/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
| 9 #include "base/macros.h" | 9 #include "base/macros.h" |
| 10 #include "content/browser/ppapi_plugin_process_host.h" | 10 #include "content/browser/ppapi_plugin_process_host.h" |
| (...skipping 10 matching lines...) Expand all Loading... |
| 21 // PepperFlashSettingsHelper implementation. | 21 // PepperFlashSettingsHelper implementation. |
| 22 void OpenChannelToBroker(const base::FilePath& path, | 22 void OpenChannelToBroker(const base::FilePath& path, |
| 23 const OpenChannelCallback& callback) override; | 23 const OpenChannelCallback& callback) override; |
| 24 | 24 |
| 25 // PpapiPluginProcessHost::BrokerClient implementation. | 25 // PpapiPluginProcessHost::BrokerClient implementation. |
| 26 void GetPpapiChannelInfo(base::ProcessHandle* renderer_handle, | 26 void GetPpapiChannelInfo(base::ProcessHandle* renderer_handle, |
| 27 int* renderer_id) override; | 27 int* renderer_id) override; |
| 28 void OnPpapiChannelOpened(const IPC::ChannelHandle& channel_handle, | 28 void OnPpapiChannelOpened(const IPC::ChannelHandle& channel_handle, |
| 29 base::ProcessId plugin_pid, | 29 base::ProcessId plugin_pid, |
| 30 int plugin_child_id) override; | 30 int plugin_child_id) override; |
| 31 bool OffTheRecord() override; | 31 bool Incognito() override; |
| 32 | 32 |
| 33 protected: | 33 protected: |
| 34 ~PepperFlashSettingsHelperImpl() override; | 34 ~PepperFlashSettingsHelperImpl() override; |
| 35 | 35 |
| 36 private: | 36 private: |
| 37 OpenChannelCallback callback_; | 37 OpenChannelCallback callback_; |
| 38 DISALLOW_COPY_AND_ASSIGN(PepperFlashSettingsHelperImpl); | 38 DISALLOW_COPY_AND_ASSIGN(PepperFlashSettingsHelperImpl); |
| 39 }; | 39 }; |
| 40 | 40 |
| 41 } // namespace content | 41 } // namespace content |
| 42 | 42 |
| 43 #endif // CONTENT_BROWSER_PEPPER_FLASH_SETTINGS_HELPER_IMPL_H_ | 43 #endif // CONTENT_BROWSER_PEPPER_FLASH_SETTINGS_HELPER_IMPL_H_ |
| OLD | NEW |