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_RENDERER_PEPPER_PEPPER_IN_PROCESS_RESOURCE_CREATION_H_ | 5 #ifndef CONTENT_RENDERER_PEPPER_PEPPER_IN_PROCESS_RESOURCE_CREATION_H_ |
6 #define CONTENT_RENDERER_PEPPER_PEPPER_IN_PROCESS_RESOURCE_CREATION_H_ | 6 #define CONTENT_RENDERER_PEPPER_PEPPER_IN_PROCESS_RESOURCE_CREATION_H_ |
7 | 7 |
| 8 #include <memory> |
| 9 |
8 #include "base/macros.h" | 10 #include "base/macros.h" |
9 #include "base/memory/scoped_ptr.h" | |
10 #include "content/renderer/pepper/resource_creation_impl.h" | 11 #include "content/renderer/pepper/resource_creation_impl.h" |
11 #include "ppapi/proxy/connection.h" | 12 #include "ppapi/proxy/connection.h" |
12 | 13 |
13 namespace content { | 14 namespace content { |
14 | 15 |
15 class RendererPpapiHostImpl; | 16 class RendererPpapiHostImpl; |
16 | 17 |
17 // This class provides creation functions for the new resources with IPC | 18 // This class provides creation functions for the new resources with IPC |
18 // backends that live in content/renderer/pepper. | 19 // backends that live in content/renderer/pepper. |
19 // | 20 // |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
67 private: | 68 private: |
68 // Non-owning pointer to the host for the current plugin. | 69 // Non-owning pointer to the host for the current plugin. |
69 RendererPpapiHostImpl* host_impl_; | 70 RendererPpapiHostImpl* host_impl_; |
70 | 71 |
71 DISALLOW_COPY_AND_ASSIGN(PepperInProcessResourceCreation); | 72 DISALLOW_COPY_AND_ASSIGN(PepperInProcessResourceCreation); |
72 }; | 73 }; |
73 | 74 |
74 } // namespace content | 75 } // namespace content |
75 | 76 |
76 #endif // CONTENT_RENDERER_PEPPER_PEPPER_IN_PROCESS_RESOURCE_CREATION_H_ | 77 #endif // CONTENT_RENDERER_PEPPER_PEPPER_IN_PROCESS_RESOURCE_CREATION_H_ |
OLD | NEW |