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

Side by Side Diff: native_client_sdk/src/libraries/nacl_io_test/kernel_object_test.cc

Issue 19673003: [NaCl SDK] Consistent use of copyright header. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 5 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 /* 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 */
5 4
6 #include <errno.h> 5 #include <errno.h>
7 #include <fcntl.h> 6 #include <fcntl.h>
8 #include <pthread.h> 7 #include <pthread.h>
9 #include <sys/stat.h> 8 #include <sys/stat.h>
10 9
11 #include <map> 10 #include <map>
12 #include <string> 11 #include <string>
13 12
14 #include "nacl_io/kernel_handle.h" 13 #include "nacl_io/kernel_handle.h"
(...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after
184 EXPECT_EQ(3, raw_handle->RefCount()); 183 EXPECT_EQ(3, raw_handle->RefCount());
185 184
186 handle.reset(); 185 handle.reset();
187 EXPECT_EQ(2, raw_handle->RefCount()); 186 EXPECT_EQ(2, raw_handle->RefCount());
188 187
189 proxy->AcquireHandle(5, &handle); 188 proxy->AcquireHandle(5, &handle);
190 EXPECT_EQ(3, raw_handle->RefCount()); 189 EXPECT_EQ(3, raw_handle->RefCount());
191 EXPECT_EQ(raw_handle, handle.get()); 190 EXPECT_EQ(raw_handle, handle.get());
192 } 191 }
193 192
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698