OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_RENDERER_PEPPER_PEPPER_FILE_REF_RENDERER_HOST_H_ | 5 #ifndef CONTENT_RENDERER_PEPPER_PEPPER_FILE_REF_RENDERER_HOST_H_ |
6 #define CONTENT_RENDERER_PEPPER_PEPPER_FILE_REF_RENDERER_HOST_H_ | 6 #define CONTENT_RENDERER_PEPPER_PEPPER_FILE_REF_RENDERER_HOST_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
(...skipping 26 matching lines...) Expand all Loading... |
37 | 37 |
38 virtual ~PepperFileRefRendererHost(); | 38 virtual ~PepperFileRefRendererHost(); |
39 | 39 |
40 PP_FileSystemType GetFileSystemType() const; | 40 PP_FileSystemType GetFileSystemType() const; |
41 GURL GetFileSystemURL() const; | 41 GURL GetFileSystemURL() const; |
42 base::FilePath GetExternalFilePath() const; | 42 base::FilePath GetExternalFilePath() const; |
43 | 43 |
44 // ppapi::host::ResourceHost override. | 44 // ppapi::host::ResourceHost override. |
45 virtual int32_t OnResourceMessageReceived( | 45 virtual int32_t OnResourceMessageReceived( |
46 const IPC::Message& msg, | 46 const IPC::Message& msg, |
47 ppapi::host::HostMessageContext* context) OVERRIDE; | 47 ppapi::host::HostMessageContext* context) override; |
48 virtual bool IsFileRefHost() OVERRIDE; | 48 virtual bool IsFileRefHost() override; |
49 | 49 |
50 private: | 50 private: |
51 PP_FileSystemType file_system_type_; | 51 PP_FileSystemType file_system_type_; |
52 std::string internal_path_; | 52 std::string internal_path_; |
53 base::FilePath external_path_; | 53 base::FilePath external_path_; |
54 base::WeakPtr<PepperFileSystemHost> fs_host_; | 54 base::WeakPtr<PepperFileSystemHost> fs_host_; |
55 | 55 |
56 DISALLOW_COPY_AND_ASSIGN(PepperFileRefRendererHost); | 56 DISALLOW_COPY_AND_ASSIGN(PepperFileRefRendererHost); |
57 }; | 57 }; |
58 | 58 |
59 } // namespace content | 59 } // namespace content |
60 | 60 |
61 #endif // CONTENT_RENDERER_PEPPER_PEPPER_FILE_REF_RENDERER_HOST_H_ | 61 #endif // CONTENT_RENDERER_PEPPER_PEPPER_FILE_REF_RENDERER_HOST_H_ |
OLD | NEW |