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

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

Issue 16232016: [NaCl SDK] nacl_io: big refactor to return error value (errno). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 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
(Empty)
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
3 * found in the LICENSE file.
4 */
5 #ifndef LIBRARIES_NACL_IO_ERROR_H_
6 #define LIBRARIES_NACL_IO_ERROR_H_
7
8 // HACK(binji)
Sam Clegg 2013/05/31 18:40:29 This whole file is a hack? Why?
binji 2013/06/03 17:16:46 Sorry, didn't remove this yet. I was planning on h
9 struct Error {
10 Error(int error) : error(error) {}
noelallen1 2013/06/07 21:48:43 #ifdef DEBUG Error(int errno, const char *file,
binji 2013/06/07 23:23:11 Added TODO
11 operator int() const { return error; }
12
13 int error;
14 };
15
16 #endif // LIBRARIES_NACL_IO_ERROR_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698