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_BROWSER_CONNECTION_H_ | 5 #ifndef CONTENT_RENDERER_PEPPER_PEPPER_BROWSER_CONNECTION_H_ |
6 #define CONTENT_RENDERER_PEPPER_PEPPER_BROWSER_CONNECTION_H_ | 6 #define CONTENT_RENDERER_PEPPER_PEPPER_BROWSER_CONNECTION_H_ |
7 | 7 |
| 8 #include <stdint.h> |
| 9 |
8 #include <map> | 10 #include <map> |
9 #include <string> | 11 #include <string> |
10 #include <vector> | 12 #include <vector> |
11 | 13 |
12 #include "base/callback.h" | 14 #include "base/callback.h" |
13 #include "base/files/file_path.h" | 15 #include "base/files/file_path.h" |
| 16 #include "base/macros.h" |
14 #include "content/public/renderer/render_frame_observer.h" | 17 #include "content/public/renderer/render_frame_observer.h" |
15 #include "content/public/renderer/render_frame_observer_tracker.h" | 18 #include "content/public/renderer/render_frame_observer_tracker.h" |
16 #include "ppapi/c/pp_file_info.h" | 19 #include "ppapi/c/pp_file_info.h" |
17 #include "ppapi/c/pp_instance.h" | 20 #include "ppapi/c/pp_instance.h" |
18 #include "ppapi/c/pp_resource.h" | 21 #include "ppapi/c/pp_resource.h" |
19 | 22 |
20 class GURL; | 23 class GURL; |
21 | 24 |
22 namespace content { | 25 namespace content { |
23 | 26 |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
69 int32_t next_sequence_number_; | 72 int32_t next_sequence_number_; |
70 | 73 |
71 // Maps a sequence number to the callback to be run. | 74 // Maps a sequence number to the callback to be run. |
72 std::map<int32_t, PendingResourceIDCallback> pending_create_map_; | 75 std::map<int32_t, PendingResourceIDCallback> pending_create_map_; |
73 DISALLOW_COPY_AND_ASSIGN(PepperBrowserConnection); | 76 DISALLOW_COPY_AND_ASSIGN(PepperBrowserConnection); |
74 }; | 77 }; |
75 | 78 |
76 } // namespace content | 79 } // namespace content |
77 | 80 |
78 #endif // CONTENT_RENDERER_PEPPER_PEPPER_BROWSER_CONNECTION_H_ | 81 #endif // CONTENT_RENDERER_PEPPER_PEPPER_BROWSER_CONNECTION_H_ |
OLD | NEW |