OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2004 The WebRTC Project Authors. All rights reserved. | 2 * Copyright 2004 The WebRTC Project Authors. All rights reserved. |
3 * | 3 * |
4 * Use of this source code is governed by a BSD-style license | 4 * Use of this source code is governed by a BSD-style license |
5 * that can be found in the LICENSE file in the root of the source | 5 * that can be found in the LICENSE file in the root of the source |
6 * tree. An additional intellectual property rights grant can be found | 6 * tree. An additional intellectual property rights grant can be found |
7 * in the file PATENTS. All contributing project authors may | 7 * in the file PATENTS. All contributing project authors may |
8 * be found in the AUTHORS file in the root of the source tree. | 8 * be found in the AUTHORS file in the root of the source tree. |
9 */ | 9 */ |
10 | 10 |
11 #include "webrtc/base/fileutils.h" | 11 #include "webrtc/rtc_base/fileutils.h" |
12 | 12 |
13 #include "webrtc/base/arraysize.h" | 13 #include "webrtc/rtc_base/arraysize.h" |
14 #include "webrtc/base/checks.h" | 14 #include "webrtc/rtc_base/checks.h" |
15 #include "webrtc/base/pathutils.h" | 15 #include "webrtc/rtc_base/pathutils.h" |
16 #include "webrtc/base/stringutils.h" | 16 #include "webrtc/rtc_base/stringutils.h" |
17 | 17 |
18 #if defined(WEBRTC_WIN) | 18 #if defined(WEBRTC_WIN) |
19 #include "webrtc/base/win32filesystem.h" | 19 #include "webrtc/rtc_base/win32filesystem.h" |
20 #else | 20 #else |
21 #include "webrtc/base/unixfilesystem.h" | 21 #include "webrtc/rtc_base/unixfilesystem.h" |
22 #endif | 22 #endif |
23 | 23 |
24 #if !defined(WEBRTC_WIN) | 24 #if !defined(WEBRTC_WIN) |
25 #define MAX_PATH 260 | 25 #define MAX_PATH 260 |
26 #endif | 26 #endif |
27 | 27 |
28 namespace rtc { | 28 namespace rtc { |
29 | 29 |
30 ////////////////////////// | 30 ////////////////////////// |
31 // Directory Iterator // | 31 // Directory Iterator // |
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
124 #if defined(WEBRTC_WIN) | 124 #if defined(WEBRTC_WIN) |
125 default_filesystem_ = new Win32Filesystem(); | 125 default_filesystem_ = new Win32Filesystem(); |
126 #else | 126 #else |
127 default_filesystem_ = new UnixFilesystem(); | 127 default_filesystem_ = new UnixFilesystem(); |
128 #endif | 128 #endif |
129 } | 129 } |
130 return default_filesystem_; | 130 return default_filesystem_; |
131 } | 131 } |
132 | 132 |
133 } // namespace rtc | 133 } // namespace rtc |
OLD | NEW |