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

Side by Side Diff: mojo/services/files/c/lib/util.h

Issue 1388413005: Move //mojo/services/X/public/... to //mojo/services/X/... (part 1). (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 2 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
« no previous file with comments | « mojo/services/files/c/lib/template_util.h ('k') | mojo/services/files/c/lib/util.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 4
5 #ifndef SERVICES_FILES_C_LIB_UTIL_H_ 5 #ifndef SERVICES_FILES_C_LIB_UTIL_H_
6 #define SERVICES_FILES_C_LIB_UTIL_H_ 6 #define SERVICES_FILES_C_LIB_UTIL_H_
7 7
8 #include "files/public/interfaces/types.mojom.h" 8 #include "files/interfaces/types.mojom.h"
9 #include "mojo/public/cpp/system/macros.h" 9 #include "mojo/public/cpp/system/macros.h"
10 10
11 namespace mojio { 11 namespace mojio {
12 12
13 // Converts a |mojo::files::Error| to an errno value. (Note that this converts 13 // Converts a |mojo::files::Error| to an errno value. (Note that this converts
14 // |mojo::files::Error::OK| to 0, which is not a valid errno value. 14 // |mojo::files::Error::OK| to 0, which is not a valid errno value.
15 int ErrorToErrno(mojo::files::Error error); 15 int ErrorToErrno(mojo::files::Error error);
16 16
17 } // namespace mojio 17 } // namespace mojio
18 18
19 #endif // SERVICES_FILES_C_LIB_UTIL_H_ 19 #endif // SERVICES_FILES_C_LIB_UTIL_H_
OLDNEW
« no previous file with comments | « mojo/services/files/c/lib/template_util.h ('k') | mojo/services/files/c/lib/util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698