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

Side by Side Diff: webrtc/rtc_base/platform_file.h

Issue 2966523003: Reland "Update includes for webrtc/{base => rtc_base} rename (3/3)" (Closed)
Patch Set: Restoring prime suspect includes Created 3 years, 5 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 | « webrtc/rtc_base/physicalsocketserver_unittest.cc ('k') | webrtc/rtc_base/platform_file.cc » ('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 2014 The WebRTC Project Authors. All rights reserved. 2 * Copyright 2014 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 #ifndef WEBRTC_RTC_BASE_PLATFORM_FILE_H_ 11 #ifndef WEBRTC_RTC_BASE_PLATFORM_FILE_H_
12 #define WEBRTC_RTC_BASE_PLATFORM_FILE_H_ 12 #define WEBRTC_RTC_BASE_PLATFORM_FILE_H_
13 13
14 #include <stdio.h> 14 #include <stdio.h>
15 #include <string> 15 #include <string>
16 16
17 #if defined(WEBRTC_WIN) 17 #if defined(WEBRTC_WIN)
18 #include "webrtc/base/win32.h" 18 #include "webrtc/rtc_base/win32.h"
19 #endif 19 #endif
20 20
21 namespace rtc { 21 namespace rtc {
22 22
23 #if defined(WEBRTC_WIN) 23 #if defined(WEBRTC_WIN)
24 typedef HANDLE PlatformFile; 24 typedef HANDLE PlatformFile;
25 #elif defined(WEBRTC_POSIX) 25 #elif defined(WEBRTC_POSIX)
26 typedef int PlatformFile; 26 typedef int PlatformFile;
27 #else 27 #else
28 #error Unsupported platform 28 #error Unsupported platform
(...skipping 18 matching lines...) Expand all
47 // instead. 47 // instead.
48 PlatformFile OpenPlatformFile(const std::string& path); 48 PlatformFile OpenPlatformFile(const std::string& path);
49 49
50 // Creates a new file for reading and writing. If the file already exists it 50 // Creates a new file for reading and writing. If the file already exists it
51 // will be overwritten. You might want to use base/file.h instead. 51 // will be overwritten. You might want to use base/file.h instead.
52 PlatformFile CreatePlatformFile(const std::string& path); 52 PlatformFile CreatePlatformFile(const std::string& path);
53 53
54 } // namespace rtc 54 } // namespace rtc
55 55
56 #endif // WEBRTC_RTC_BASE_PLATFORM_FILE_H_ 56 #endif // WEBRTC_RTC_BASE_PLATFORM_FILE_H_
OLDNEW
« no previous file with comments | « webrtc/rtc_base/physicalsocketserver_unittest.cc ('k') | webrtc/rtc_base/platform_file.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698