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_RESOURCE_CONVERTER_H | 5 #ifndef CONTENT_RENDERER_PEPPER_RESOURCE_CONVERTER_H |
6 #define CONTENT_RENDERER_PEPPER_RESOURCE_CONVERTER_H | 6 #define CONTENT_RENDERER_PEPPER_RESOURCE_CONVERTER_H |
7 | 7 |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
88 // The instance this ResourceConverter is associated with. | 88 // The instance this ResourceConverter is associated with. |
89 PP_Instance instance_; | 89 PP_Instance instance_; |
90 // The RendererPpapiHost to use to create browser hosts. | 90 // The RendererPpapiHost to use to create browser hosts. |
91 RendererPpapiHost* host_; | 91 RendererPpapiHost* host_; |
92 | 92 |
93 // A list of the messages to create the browser hosts. This is a parallel | 93 // A list of the messages to create the browser hosts. This is a parallel |
94 // array to |browser_vars|. It is kept as a parallel array so that it can be | 94 // array to |browser_vars|. It is kept as a parallel array so that it can be |
95 // conveniently passed to |CreateBrowserResourceHosts|. | 95 // conveniently passed to |CreateBrowserResourceHosts|. |
96 std::vector<IPC::Message> browser_host_create_messages_; | 96 std::vector<IPC::Message> browser_host_create_messages_; |
97 // A list of the resource vars associated with browser hosts. | 97 // A list of the resource vars associated with browser hosts. |
98 std::vector<scoped_refptr<HostResourceVar> > browser_vars; | 98 std::vector<scoped_refptr<HostResourceVar> > browser_vars_; |
99 | 99 |
100 DISALLOW_COPY_AND_ASSIGN(ResourceConverterImpl); | 100 DISALLOW_COPY_AND_ASSIGN(ResourceConverterImpl); |
101 }; | 101 }; |
102 | 102 |
103 } // namespace content | 103 } // namespace content |
104 #endif // CONTENT_RENDERER_PEPPER_RESOURCE_CONVERTER_H | 104 #endif // CONTENT_RENDERER_PEPPER_RESOURCE_CONVERTER_H |
OLD | NEW |