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 #include "nacl_mounts/path.h" | 5 #include "nacl_io/path.h" |
6 | 6 |
7 #include <stdio.h> | 7 #include <stdio.h> |
8 #include <string.h> | 8 #include <string.h> |
9 #include <string> | 9 #include <string> |
10 | 10 |
11 Path::Path() {} | 11 Path::Path() {} |
12 | 12 |
13 Path::Path(const Path& path) { | 13 Path::Path(const Path& path) { |
14 paths_ = path.paths_; | 14 paths_ = path.paths_; |
15 } | 15 } |
(...skipping 178 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
194 } | 194 } |
195 | 195 |
196 Path& Path::operator =(const Path& p) { | 196 Path& Path::operator =(const Path& p) { |
197 paths_ = p.paths_; | 197 paths_ = p.paths_; |
198 return *this; | 198 return *this; |
199 } | 199 } |
200 | 200 |
201 Path& Path::operator =(const std::string& p) { | 201 Path& Path::operator =(const std::string& p) { |
202 return Set(p); | 202 return Set(p); |
203 } | 203 } |
OLD | NEW |