OLD | NEW |
1 /* Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 /* Copyright (c) 2012 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 LIBRARIES_NACL_MOUNTS_PATH_H_ | 5 #ifndef LIBRARIES_NACL_IO_PATH_H_ |
6 #define LIBRARIES_NACL_MOUNTS_PATH_H_ | 6 #define LIBRARIES_NACL_IO_PATH_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
11 #include "utils/macros.h" | 11 #include "utils/macros.h" |
12 | 12 |
13 typedef std::vector<std::string> StringArray_t; | 13 typedef std::vector<std::string> StringArray_t; |
14 | 14 |
15 class Path { | 15 class Path { |
16 public: | 16 public: |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
59 Path& operator=(const Path& p); | 59 Path& operator=(const Path& p); |
60 Path& operator=(const std::string& str); | 60 Path& operator=(const std::string& str); |
61 | 61 |
62 private: | 62 private: |
63 // Internal representation of the path stored an array of string representing | 63 // Internal representation of the path stored an array of string representing |
64 // the directory traversal. The first string is a "/" if this is an abolute | 64 // the directory traversal. The first string is a "/" if this is an abolute |
65 // path. | 65 // path. |
66 StringArray_t paths_; | 66 StringArray_t paths_; |
67 }; | 67 }; |
68 | 68 |
69 #endif // PACKAGES_LIBRARIES_NACL_MOUNTS_PATH_H_ | 69 #endif // PACKAGES_LIBRARIES_NACL_IO_PATH_H_ |
OLD | NEW |