Chromium Code Reviews| Index: services/files/c/lib/real_errno_impl.cc |
| diff --git a/services/files/c/lib/real_errno_impl.cc b/services/files/c/lib/real_errno_impl.cc |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..133f985dd6d6cd7eb55cdda4038b82a460d37725 |
| --- /dev/null |
| +++ b/services/files/c/lib/real_errno_impl.cc |
| @@ -0,0 +1,15 @@ |
| +// Copyright 2015 The Chromium Authors. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +#include "services/files/c/lib/real_errno_impl.h" |
| + |
| +namespace mojio { |
| + |
| +int RealErrnoImpl::Get() const { |
| + return errno; |
| +} |
| +void RealErrnoImpl::Set(int error) { |
|
viettrungluu
2015/04/03 19:45:31
nit: blank line above
|
| + errno = error; |
| +} |
| +} |
|
viettrungluu
2015/04/03 19:45:31
nits: blank line above and " // namespace mojio"
|