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" |
11 #include "base/callback.h" | 11 #include "base/callback.h" |
12 #include "base/compiler_specific.h" | 12 #include "base/compiler_specific.h" |
13 #include "base/memory/ref_counted.h" | 13 #include "base/memory/ref_counted.h" |
14 #include "content/common/content_export.h" | 14 #include "content/common/content_export.h" |
15 #include "content/renderer/pepper/host_resource_var.h" | 15 #include "content/renderer/pepper/host_resource_var.h" |
16 #include "ppapi/c/pp_instance.h" | 16 #include "ppapi/c/pp_instance.h" |
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
100 // array to |browser_vars|. It is kept as a parallel array so that it can be | 100 // array to |browser_vars|. It is kept as a parallel array so that it can be |
101 // conveniently passed to |CreateBrowserResourceHosts|. | 101 // conveniently passed to |CreateBrowserResourceHosts|. |
102 std::vector<IPC::Message> browser_host_create_messages_; | 102 std::vector<IPC::Message> browser_host_create_messages_; |
103 // A list of the resource vars associated with browser hosts. | 103 // A list of the resource vars associated with browser hosts. |
104 std::vector<scoped_refptr<HostResourceVar> > browser_vars_; | 104 std::vector<scoped_refptr<HostResourceVar> > browser_vars_; |
105 | 105 |
106 DISALLOW_COPY_AND_ASSIGN(ResourceConverterImpl); | 106 DISALLOW_COPY_AND_ASSIGN(ResourceConverterImpl); |
107 }; | 107 }; |
108 | 108 |
109 } // namespace content | 109 } // namespace content |
110 #endif // CONTENT_RENDERER_PEPPER_RESOURCE_CONVERTER_H | 110 #endif // CONTENT_RENDERER_PEPPER_RESOURCE_CONVERTER_H_ |
OLD | NEW |