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

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

Issue 2059423002: Revert of Roll chromium_revision 7fa6701bc5..1a73d11e65 (398458:399420) (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 4 years, 6 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 | « build_overrides/build.gni ('k') | no next file » | 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
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 50
51 namespace { 51 namespace {
52 52
53 #ifdef WIN32 53 #ifdef WIN32
54 const char* kPathDelimiter = "\\"; 54 const char* kPathDelimiter = "\\";
55 #else 55 #else
56 const char* kPathDelimiter = "/"; 56 const char* kPathDelimiter = "/";
57 #endif 57 #endif
58 58
59 #ifdef WEBRTC_ANDROID 59 #ifdef WEBRTC_ANDROID
60 const char* kRootDirName = "/sdcard/chromium_tests_root/"; 60 const char* kRootDirName = "/sdcard/";
61 #else 61 #else
62 // The file we're looking for to identify the project root dir. 62 // The file we're looking for to identify the project root dir.
63 const char* kProjectRootFileName = "DEPS"; 63 const char* kProjectRootFileName = "DEPS";
64 #if !defined(WEBRTC_IOS) 64 #if !defined(WEBRTC_IOS)
65 const char* kOutputDirName = "out"; 65 const char* kOutputDirName = "out";
66 #endif 66 #endif
67 const char* kFallbackPath = "./"; 67 const char* kFallbackPath = "./";
68 #endif // !defined(WEBRTC_ANDROID) 68 #endif // !defined(WEBRTC_ANDROID)
69 69
70 #if !defined(WEBRTC_IOS) 70 #if !defined(WEBRTC_IOS)
(...skipping 200 matching lines...) Expand 10 before | Expand all | Expand 10 after
271 if (fseek(f, 0, SEEK_END) == 0) { 271 if (fseek(f, 0, SEEK_END) == 0) {
272 size = ftell(f); 272 size = ftell(f);
273 } 273 }
274 fclose(f); 274 fclose(f);
275 } 275 }
276 return size; 276 return size;
277 } 277 }
278 278
279 } // namespace test 279 } // namespace test
280 } // namespace webrtc 280 } // namespace webrtc
OLDNEW
« no previous file with comments | « build_overrides/build.gni ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698