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

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

Issue 1457963002: Use scoped_ptr instead of linked_ptr from /content/renderer (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix android compile error Created 5 years, 1 month 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
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 <map> 8 #include <map>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
11 #include "base/compiler_specific.h" 11 #include "base/compiler_specific.h"
12 #include "base/containers/hash_tables.h" 12 #include "base/containers/hash_tables.h"
13 #include "base/memory/linked_ptr.h"
14 #include "base/memory/ref_counted.h" 13 #include "base/memory/ref_counted.h"
15 #include "content/common/content_export.h" 14 #include "content/common/content_export.h"
16 #include "ppapi/c/pp_instance.h" 15 #include "ppapi/c/pp_instance.h"
17 #include "ppapi/shared_impl/host_resource.h" 16 #include "ppapi/shared_impl/host_resource.h"
18 #include "ppapi/shared_impl/resource_tracker.h" 17 #include "ppapi/shared_impl/resource_tracker.h"
19 #include "ppapi/shared_impl/var_tracker.h" 18 #include "ppapi/shared_impl/var_tracker.h"
20 #include "v8/include/v8.h" 19 #include "v8/include/v8.h"
21 20
22 namespace ppapi { 21 namespace ppapi {
23 class ArrayBufferVar; 22 class ArrayBufferVar;
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
103 typedef std::map<int, SharedMemoryMapEntry> SharedMemoryMap; 102 typedef std::map<int, SharedMemoryMapEntry> SharedMemoryMap;
104 SharedMemoryMap shared_memory_map_; 103 SharedMemoryMap shared_memory_map_;
105 uint32_t last_shared_memory_map_id_; 104 uint32_t last_shared_memory_map_id_;
106 105
107 DISALLOW_COPY_AND_ASSIGN(HostVarTracker); 106 DISALLOW_COPY_AND_ASSIGN(HostVarTracker);
108 }; 107 };
109 108
110 } // namespace content 109 } // namespace content
111 110
112 #endif // CONTENT_RENDERER_PEPPER_HOST_VAR_TRACKER_H_ 111 #endif // CONTENT_RENDERER_PEPPER_HOST_VAR_TRACKER_H_
OLDNEW
« no previous file with comments | « content/renderer/pepper/event_conversion.cc ('k') | content/renderer/pepper/pepper_plugin_instance_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698