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

Side by Side Diff: ppapi/proxy/udp_socket_filter.h

Issue 1099383002: Change ScopedPtrHashMap's 2nd template parameter (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 5 years, 7 months 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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 PPAPI_PROXY_UDP_SOCKET_FILTER_H_ 5 #ifndef PPAPI_PROXY_UDP_SOCKET_FILTER_H_
6 #define PPAPI_PROXY_UDP_SOCKET_FILTER_H_ 6 #define PPAPI_PROXY_UDP_SOCKET_FILTER_H_
7 7
8 #include <queue> 8 #include <queue>
9 #include <string> 9 #include <string>
10 10
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after
121 int32_t result, 121 int32_t result,
122 const std::string& data, 122 const std::string& data,
123 const PP_NetAddress_Private& addr); 123 const PP_NetAddress_Private& addr);
124 124
125 // lock_ protects queues_. 125 // lock_ protects queues_.
126 // 126 //
127 // Lock order (if >1 acquired): 127 // Lock order (if >1 acquired):
128 // 1 ppapi::ProxyLock 128 // 1 ppapi::ProxyLock
129 // \-->2 Filter lock_ 129 // \-->2 Filter lock_
130 mutable base::Lock lock_; 130 mutable base::Lock lock_;
131 base::ScopedPtrHashMap<PP_Resource, RecvQueue> queues_; 131 base::ScopedPtrHashMap<PP_Resource, scoped_ptr<RecvQueue>> queues_;
132 }; 132 };
133 133
134 } // namespace proxy 134 } // namespace proxy
135 } // namespace ppapi 135 } // namespace ppapi
136 136
137 #endif // PPAPI_PROXY_UDP_SOCKET_FILTER_H_ 137 #endif // PPAPI_PROXY_UDP_SOCKET_FILTER_H_
OLDNEW
« no previous file with comments | « ppapi/proxy/plugin_dispatcher.h ('k') | sync/internal_api/public/attachments/attachment_downloader_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698