OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2011 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2011 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_SYSTEM_WRAPPERS_SOURCE_FILE_IMPL_H_ | 11 #ifndef WEBRTC_SYSTEM_WRAPPERS_SOURCE_FILE_IMPL_H_ |
12 #define WEBRTC_SYSTEM_WRAPPERS_SOURCE_FILE_IMPL_H_ | 12 #define WEBRTC_SYSTEM_WRAPPERS_SOURCE_FILE_IMPL_H_ |
13 | 13 |
14 #include <stdio.h> | 14 #include <stdio.h> |
15 | 15 |
16 #include "webrtc/base/scoped_ptr.h" | 16 #include "webrtc/base/scoped_ptr.h" |
17 #include "webrtc/system_wrappers/interface/file_wrapper.h" | 17 #include "webrtc/system_wrappers/include/file_wrapper.h" |
18 | 18 |
19 namespace webrtc { | 19 namespace webrtc { |
20 | 20 |
21 class RWLockWrapper; | 21 class RWLockWrapper; |
22 | 22 |
23 class FileWrapperImpl : public FileWrapper { | 23 class FileWrapperImpl : public FileWrapper { |
24 public: | 24 public: |
25 FileWrapperImpl(); | 25 FileWrapperImpl(); |
26 ~FileWrapperImpl() override; | 26 ~FileWrapperImpl() override; |
27 | 27 |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
60 bool looping_; | 60 bool looping_; |
61 bool read_only_; | 61 bool read_only_; |
62 size_t max_size_in_bytes_; // -1 indicates file size limitation is off | 62 size_t max_size_in_bytes_; // -1 indicates file size limitation is off |
63 size_t size_in_bytes_; | 63 size_t size_in_bytes_; |
64 char file_name_utf8_[kMaxFileNameSize]; | 64 char file_name_utf8_[kMaxFileNameSize]; |
65 }; | 65 }; |
66 | 66 |
67 } // namespace webrtc | 67 } // namespace webrtc |
68 | 68 |
69 #endif // WEBRTC_SYSTEM_WRAPPERS_SOURCE_FILE_IMPL_H_ | 69 #endif // WEBRTC_SYSTEM_WRAPPERS_SOURCE_FILE_IMPL_H_ |
OLD | NEW |