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

Side by Side Diff: ppapi/native_client/src/trusted/plugin/method_map.cc

Issue 7778046: Update Native Client Authors to be Chromium Authors for the code moved from the (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 3 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 | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * Copyright 2008 The Native Client Authors. All rights reserved. 2 * Copyright 2008 The Chromium Authors. All rights reserved.
3 * Use of this source code is governed by a BSD-style license that can 3 * Use of this source code is governed by a BSD-style license that can
4 * be found in the LICENSE file. 4 * be found in the LICENSE file.
5 */ 5 */
6 6
7 7
8 #include <map> 8 #include <map>
9 9
10 #include "native_client/src/include/checked_cast.h" 10 #include "native_client/src/include/checked_cast.h"
11 #include "native_client/src/shared/platform/nacl_exit.h" 11 #include "native_client/src/shared/platform/nacl_exit.h"
12 #include "native_client/src/shared/platform/nacl_log.h" 12 #include "native_client/src/shared/platform/nacl_log.h"
(...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after
201 void MethodMap::AddMethod(uintptr_t method_id, MethodInfo *info) { 201 void MethodMap::AddMethod(uintptr_t method_id, MethodInfo *info) {
202 if (method_map_.find(method_id) != method_map_.end()) { 202 if (method_map_.find(method_id) != method_map_.end()) {
203 // the method already exists 203 // the method already exists
204 NaClAbort(); 204 NaClAbort();
205 } 205 }
206 method_map_[method_id] = info; 206 method_map_[method_id] = info;
207 method_map_keys_.push_back(method_id); 207 method_map_keys_.push_back(method_id);
208 } 208 }
209 209
210 } // namespace plugin 210 } // namespace plugin
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698