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

Side by Side Diff: components/filesystem/util.h

Issue 1546143002: Switch to standard integer types in components/, part 1 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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 | « components/filesystem/file_system_impl.cc ('k') | components/filesystem/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 COMPONENTS_FILESYSTEM_UTIL_H_ 5 #ifndef COMPONENTS_FILESYSTEM_UTIL_H_
6 #define COMPONENTS_FILESYSTEM_UTIL_H_ 6 #define COMPONENTS_FILESYSTEM_UTIL_H_
7 7
8 #include <stdint.h>
9
8 #include "base/files/file.h" 10 #include "base/files/file.h"
9 #include "components/filesystem/public/interfaces/types.mojom.h" 11 #include "components/filesystem/public/interfaces/types.mojom.h"
10 12
11 namespace mojo { 13 namespace mojo {
12 class String; 14 class String;
13 } 15 }
14 16
15 namespace filesystem { 17 namespace filesystem {
16 18
17 // Validation functions (typically used to check arguments; they return 19 // Validation functions (typically used to check arguments; they return
(...skipping 24 matching lines...) Expand all
42 FileInformationPtr MakeFileInformation(const base::File::Info& info); 44 FileInformationPtr MakeFileInformation(const base::File::Info& info);
43 45
44 // Creates an absolute file path and ensures that we don't try to traverse up. 46 // Creates an absolute file path and ensures that we don't try to traverse up.
45 FileError ValidatePath(const mojo::String& raw_path, 47 FileError ValidatePath(const mojo::String& raw_path,
46 const base::FilePath& filesystem_base, 48 const base::FilePath& filesystem_base,
47 base::FilePath* out); 49 base::FilePath* out);
48 50
49 } // namespace filesystem 51 } // namespace filesystem
50 52
51 #endif // COMPONENTS_FILESYSTEM_UTIL_H_ 53 #endif // COMPONENTS_FILESYSTEM_UTIL_H_
OLDNEW
« no previous file with comments | « components/filesystem/file_system_impl.cc ('k') | components/filesystem/util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698