Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(403)

Side by Side Diff: content/renderer/pepper/host_var_tracker.h

Issue 2537513006: content: Cleanup class/struct forward declarations (Closed)
Patch Set: Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « content/renderer/mojo_context_state.h ('k') | content/renderer/render_frame_impl.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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_HOST_VAR_TRACKER_H_ 5 #ifndef CONTENT_RENDERER_PEPPER_HOST_VAR_TRACKER_H_
6 #define CONTENT_RENDERER_PEPPER_HOST_VAR_TRACKER_H_ 6 #define CONTENT_RENDERER_PEPPER_HOST_VAR_TRACKER_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <map> 10 #include <map>
11 11
12 #include "base/compiler_specific.h" 12 #include "base/compiler_specific.h"
13 #include "base/containers/hash_tables.h" 13 #include "base/containers/hash_tables.h"
14 #include "base/macros.h" 14 #include "base/macros.h"
15 #include "base/memory/ref_counted.h" 15 #include "base/memory/ref_counted.h"
16 #include "content/common/content_export.h" 16 #include "content/common/content_export.h"
17 #include "ppapi/c/pp_instance.h" 17 #include "ppapi/c/pp_instance.h"
18 #include "ppapi/shared_impl/host_resource.h" 18 #include "ppapi/shared_impl/host_resource.h"
19 #include "ppapi/shared_impl/resource_tracker.h" 19 #include "ppapi/shared_impl/resource_tracker.h"
20 #include "ppapi/shared_impl/var_tracker.h" 20 #include "ppapi/shared_impl/var_tracker.h"
21 #include "v8/include/v8.h" 21 #include "v8/include/v8.h"
22 22
23 namespace ppapi { 23 namespace ppapi {
24 class ArrayBufferVar; 24 class ArrayBufferVar;
25 class V8ObjectVar; 25 class V8ObjectVar;
26 class Var;
27 } 26 }
28 27
29 namespace content { 28 namespace content {
30 29
31 class HostVarTracker : public ppapi::VarTracker { 30 class HostVarTracker : public ppapi::VarTracker {
32 public: 31 public:
33 HostVarTracker(); 32 HostVarTracker();
34 ~HostVarTracker() override; 33 ~HostVarTracker() override;
35 34
36 // Tracks all live V8ObjectVar. This is so we can map between instance + 35 // Tracks all live V8ObjectVar. This is so we can map between instance +
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
104 typedef std::map<int, SharedMemoryMapEntry> SharedMemoryMap; 103 typedef std::map<int, SharedMemoryMapEntry> SharedMemoryMap;
105 SharedMemoryMap shared_memory_map_; 104 SharedMemoryMap shared_memory_map_;
106 uint32_t last_shared_memory_map_id_; 105 uint32_t last_shared_memory_map_id_;
107 106
108 DISALLOW_COPY_AND_ASSIGN(HostVarTracker); 107 DISALLOW_COPY_AND_ASSIGN(HostVarTracker);
109 }; 108 };
110 109
111 } // namespace content 110 } // namespace content
112 111
113 #endif // CONTENT_RENDERER_PEPPER_HOST_VAR_TRACKER_H_ 112 #endif // CONTENT_RENDERER_PEPPER_HOST_VAR_TRACKER_H_
OLDNEW
« no previous file with comments | « content/renderer/mojo_context_state.h ('k') | content/renderer/render_frame_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698