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

Side by Side Diff: native_client_sdk/src/libraries/nacl_io/error.h

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) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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 #ifndef LIBRARIES_NACL_IO_ERROR_H_ 4 #ifndef LIBRARIES_NACL_IO_ERROR_H_
6 #define LIBRARIES_NACL_IO_ERROR_H_ 5 #define LIBRARIES_NACL_IO_ERROR_H_
7 6
8 namespace nacl_io { 7 namespace nacl_io {
9 8
10 struct Error { 9 struct Error {
11 // TODO(binji): Add debugging constructor w/ __FILE__, __LINE__. 10 // TODO(binji): Add debugging constructor w/ __FILE__, __LINE__.
12 // crbug.com/247816 11 // crbug.com/247816
13 Error(int error) : error(error) {} 12 Error(int error) : error(error) {}
14 operator int() const { return error; } 13 operator int() const { return error; }
15 14
16 int error; 15 int error;
17 }; 16 };
18 17
19 } // namespace nacl_io 18 } // namespace nacl_io
20 19
21 #endif // LIBRARIES_NACL_IO_ERROR_H_ 20 #endif // LIBRARIES_NACL_IO_ERROR_H_
OLDNEW
« no previous file with comments | « native_client_sdk/src/libraries/error_handling/string_stream.c ('k') | native_client_sdk/src/libraries/nacl_io/inode_pool.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698