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

Side by Side Diff: native_client_sdk/src/libraries/nacl_io/mount_html5fs.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 "nacl_io/mount_html5fs.h" 5 #include "nacl_io/mount_html5fs.h"
7 6
8 #include <errno.h> 7 #include <errno.h>
9 #include <fcntl.h> 8 #include <fcntl.h>
10 #include <ppapi/c/pp_completion_callback.h> 9 #include <ppapi/c/pp_completion_callback.h>
11 #include <ppapi/c/pp_errors.h> 10 #include <ppapi/c/pp_errors.h>
12 #include <stdlib.h> 11 #include <stdlib.h>
13 #include <string.h> 12 #include <string.h>
14 #include <algorithm> 13 #include <algorithm>
(...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after
178 self->FilesystemOpenCallback(result); 177 self->FilesystemOpenCallback(result);
179 } 178 }
180 179
181 void MountHtml5Fs::FilesystemOpenCallback(int32_t result) { 180 void MountHtml5Fs::FilesystemOpenCallback(int32_t result) {
182 AUTO_LOCK(filesysem_open_lock_); 181 AUTO_LOCK(filesysem_open_lock_);
183 filesystem_open_has_result_ = true; 182 filesystem_open_has_result_ = true;
184 filesystem_open_error_ = PPErrorToErrno(result); 183 filesystem_open_error_ = PPErrorToErrno(result);
185 pthread_cond_signal(&filesystem_open_cond_); 184 pthread_cond_signal(&filesystem_open_cond_);
186 } 185 }
187 186
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698