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

Side by Side Diff: core/fxcrt/fxcrt_stream.cpp

Issue 2443723002: Rename IFX_ stream names (Closed)
Patch Set: Nits Created 4 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 | « core/fxcrt/fx_xml_parser.cpp ('k') | core/fxcrt/xml_int.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 // Copyright 2016 PDFium Authors. All rights reserved. 1 // Copyright 2016 PDFium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com 5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
6 6
7 #include "core/fxcrt/fx_stream.h" 7 #include "core/fxcrt/fx_stream.h"
8 8
9 FX_BOOL IFX_FileWrite::WriteBlock(const void* pData, size_t size) { 9 FX_BOOL IFX_SeekableWriteStream::WriteBlock(const void* pData, size_t size) {
10 return WriteBlock(pData, GetSize(), size); 10 return WriteBlock(pData, GetSize(), size);
11 } 11 }
12 12
13 FX_BOOL IFX_FileRead::IsEOF() { 13 FX_BOOL IFX_SeekableReadStream::IsEOF() {
14 return FALSE; 14 return FALSE;
15 } 15 }
16 16
17 FX_FILESIZE IFX_FileRead::GetPosition() { 17 FX_FILESIZE IFX_SeekableReadStream::GetPosition() {
18 return 0; 18 return 0;
19 } 19 }
20 20
21 size_t IFX_FileRead::ReadBlock(void* buffer, size_t size) { 21 size_t IFX_SeekableReadStream::ReadBlock(void* buffer, size_t size) {
22 return 0; 22 return 0;
23 } 23 }
24 24
25 FX_BOOL IFX_FileStream::WriteBlock(const void* buffer, size_t size) { 25 FX_BOOL IFX_SeekableStream::WriteBlock(const void* buffer, size_t size) {
26 return WriteBlock(buffer, GetSize(), size); 26 return WriteBlock(buffer, GetSize(), size);
27 } 27 }
OLDNEW
« no previous file with comments | « core/fxcrt/fx_xml_parser.cpp ('k') | core/fxcrt/xml_int.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698