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

Side by Side Diff: webrtc/test/testsupport/fileutils.cc

Issue 1413333002: system_wrappers: rename interface -> include (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Rebased again! Created 5 years, 1 month 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 | « webrtc/test/histogram.cc ('k') | webrtc/test/testsupport/trace_to_stderr.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2012 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/test/testsupport/fileutils.h" 11 #include "webrtc/test/testsupport/fileutils.h"
12 12
13 #include <assert.h> 13 #include <assert.h>
14 14
15 #ifdef WIN32 15 #ifdef WIN32
16 #include <direct.h> 16 #include <direct.h>
17 #include <tchar.h> 17 #include <tchar.h>
18 #include <windows.h> 18 #include <windows.h>
19 #include <algorithm> 19 #include <algorithm>
20 20
21 #include "webrtc/system_wrappers/interface/utf_util_win.h" 21 #include "webrtc/system_wrappers/include/utf_util_win.h"
22 #define GET_CURRENT_DIR _getcwd 22 #define GET_CURRENT_DIR _getcwd
23 #else 23 #else
24 #include <unistd.h> 24 #include <unistd.h>
25 25
26 #include "webrtc/base/scoped_ptr.h" 26 #include "webrtc/base/scoped_ptr.h"
27 #define GET_CURRENT_DIR getcwd 27 #define GET_CURRENT_DIR getcwd
28 #endif 28 #endif
29 29
30 #include <sys/stat.h> // To check for directory existence. 30 #include <sys/stat.h> // To check for directory existence.
31 #ifndef S_ISDIR // Not defined in stat.h on Windows. 31 #ifndef S_ISDIR // Not defined in stat.h on Windows.
(...skipping 227 matching lines...) Expand 10 before | Expand all | Expand 10 after
259 if (fseek(f, 0, SEEK_END) == 0) { 259 if (fseek(f, 0, SEEK_END) == 0) {
260 size = ftell(f); 260 size = ftell(f);
261 } 261 }
262 fclose(f); 262 fclose(f);
263 } 263 }
264 return size; 264 return size;
265 } 265 }
266 266
267 } // namespace test 267 } // namespace test
268 } // namespace webrtc 268 } // namespace webrtc
OLDNEW
« no previous file with comments | « webrtc/test/histogram.cc ('k') | webrtc/test/testsupport/trace_to_stderr.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698