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

Side by Side Diff: core/fxcrt/fx_stream.h

Issue 2382723003: Move core/fxcrt/include to core/fxcrt (Closed)
Patch Set: Rebase to master Created 4 years, 2 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 | « core/fxcrt/fx_safe_types.h ('k') | core/fxcrt/fx_string.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 2014 PDFium Authors. All rights reserved. 1 // Copyright 2014 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 #ifndef CORE_FXCRT_INCLUDE_FX_STREAM_H_ 7 #ifndef CORE_FXCRT_FX_STREAM_H_
8 #define CORE_FXCRT_INCLUDE_FX_STREAM_H_ 8 #define CORE_FXCRT_FX_STREAM_H_
9 9
10 #include "core/fxcrt/include/fx_string.h" 10 #include "core/fxcrt/fx_string.h"
11 #include "core/fxcrt/include/fx_system.h" 11 #include "core/fxcrt/fx_system.h"
12 12
13 void* FX_OpenFolder(const FX_CHAR* path); 13 void* FX_OpenFolder(const FX_CHAR* path);
14 void* FX_OpenFolder(const FX_WCHAR* path); 14 void* FX_OpenFolder(const FX_WCHAR* path);
15 FX_BOOL FX_GetNextFile(void* handle, 15 FX_BOOL FX_GetNextFile(void* handle,
16 CFX_ByteString& filename, 16 CFX_ByteString& filename,
17 FX_BOOL& bFolder); 17 FX_BOOL& bFolder);
18 FX_BOOL FX_GetNextFile(void* handle, 18 FX_BOOL FX_GetNextFile(void* handle,
19 CFX_WideString& filename, 19 CFX_WideString& filename,
20 FX_BOOL& bFolder); 20 FX_BOOL& bFolder);
21 void FX_CloseFolder(void* handle); 21 void FX_CloseFolder(void* handle);
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after
152 FX_BOOL IsEOF() override = 0; 152 FX_BOOL IsEOF() override = 0;
153 FX_FILESIZE GetPosition() override = 0; 153 FX_FILESIZE GetPosition() override = 0;
154 size_t ReadBlock(void* buffer, size_t size) override = 0; 154 size_t ReadBlock(void* buffer, size_t size) override = 0;
155 155
156 virtual FX_BOOL ReadNextBlock(FX_BOOL bRestart = FALSE) = 0; 156 virtual FX_BOOL ReadNextBlock(FX_BOOL bRestart = FALSE) = 0;
157 virtual const uint8_t* GetBlockBuffer() = 0; 157 virtual const uint8_t* GetBlockBuffer() = 0;
158 virtual size_t GetBlockSize() = 0; 158 virtual size_t GetBlockSize() = 0;
159 virtual FX_FILESIZE GetBlockOffset() = 0; 159 virtual FX_FILESIZE GetBlockOffset() = 0;
160 }; 160 };
161 161
162 #endif // CORE_FXCRT_INCLUDE_FX_STREAM_H_ 162 #endif // CORE_FXCRT_FX_STREAM_H_
OLDNEW
« no previous file with comments | « core/fxcrt/fx_safe_types.h ('k') | core/fxcrt/fx_string.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698