| 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 <memory> | 16 #include <memory> |
| 17 | 17 |
| 18 #include "webrtc/base/scoped_ptr.h" | |
| 19 #include "webrtc/system_wrappers/include/file_wrapper.h" | 18 #include "webrtc/system_wrappers/include/file_wrapper.h" |
| 20 | 19 |
| 21 namespace webrtc { | 20 namespace webrtc { |
| 22 | 21 |
| 23 class RWLockWrapper; | 22 class RWLockWrapper; |
| 24 | 23 |
| 25 class FileWrapperImpl : public FileWrapper { | 24 class FileWrapperImpl : public FileWrapper { |
| 26 public: | 25 public: |
| 27 FileWrapperImpl(); | 26 FileWrapperImpl(); |
| 28 ~FileWrapperImpl() override; | 27 ~FileWrapperImpl() override; |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 62 bool looping_; | 61 bool looping_; |
| 63 bool read_only_; | 62 bool read_only_; |
| 64 size_t max_size_in_bytes_; // -1 indicates file size limitation is off | 63 size_t max_size_in_bytes_; // -1 indicates file size limitation is off |
| 65 size_t size_in_bytes_; | 64 size_t size_in_bytes_; |
| 66 char file_name_utf8_[kMaxFileNameSize]; | 65 char file_name_utf8_[kMaxFileNameSize]; |
| 67 }; | 66 }; |
| 68 | 67 |
| 69 } // namespace webrtc | 68 } // namespace webrtc |
| 70 | 69 |
| 71 #endif // WEBRTC_SYSTEM_WRAPPERS_SOURCE_FILE_IMPL_H_ | 70 #endif // WEBRTC_SYSTEM_WRAPPERS_SOURCE_FILE_IMPL_H_ |
| OLD | NEW |