OLD | NEW |
(Empty) | |
| 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 |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_PEPPER_PEPPER_FLASH_FILE_HOST_H_ |
| 6 #define CONTENT_BROWSER_RENDERER_HOST_PEPPER_PEPPER_FLASH_FILE_HOST_H_ |
| 7 |
| 8 #include "base/compiler_specific.h" |
| 9 #include "base/file_path.h" |
| 10 #include "base/memory/ref_counted.h" |
| 11 #include "base/process.h" |
| 12 #include "ppapi/host/resource_host.h" |
| 13 #include "ppapi/host/resource_message_filter.h" |
| 14 |
| 15 namespace ppapi { |
| 16 class PepperFilePath; |
| 17 } |
| 18 |
| 19 namespace ppapi { |
| 20 namespace host { |
| 21 struct ReplyMessageContext; |
| 22 } |
| 23 } |
| 24 |
| 25 namespace content { |
| 26 |
| 27 class BrowserPpapiHost; |
| 28 |
| 29 class PepperFlashFileHost : public ppapi::host::ResourceHost { |
| 30 public: |
| 31 PepperFlashFileHost(BrowserPpapiHost* host, |
| 32 PP_Instance instance, |
| 33 PP_Resource resource); |
| 34 virtual ~PepperFlashFileHost(); |
| 35 |
| 36 static FilePath GetDataDirName(const FilePath& profile_path); |
| 37 |
| 38 private: |
| 39 DISALLOW_COPY_AND_ASSIGN(PepperFlashFileHost); |
| 40 }; |
| 41 |
| 42 } // namespace content |
| 43 |
| 44 #endif // CONTENT_BROWSER_RENDERER_HOST_PEPPER_PEPPER_FLASH_FILE_HOST_H_ |
OLD | NEW |