summaryrefslogtreecommitdiff
path: root/core/fxcrt/fx_stream.cpp
diff options
context:
space:
mode:
authorDan Sinclair <dsinclair@chromium.org>2017-08-31 16:31:47 -0400
committerChromium commit bot <commit-bot@chromium.org>2017-08-31 20:58:54 +0000
commit1e8dd54c54a04d5f5ee249db22f84001fa16101e (patch)
treea5eebcc6d3bcd9dd8b0aed535b0aa997fde4448e /core/fxcrt/fx_stream.cpp
parentc5ac05726a38d214d399f7be42811d659f9f9d9a (diff)
downloadpdfium-1e8dd54c54a04d5f5ee249db22f84001fa16101e.tar.xz
Rename fxcrt_ and ifxcrt_ files to better names
The CFXCRT and IFXCRT prefix was only used on 3 files. This CL renames them to the more common CFX and IFX. The files were renamed as needed. Change-Id: Iccdaa55c5822adb93af7c58aedfb121413a30223 Reviewed-on: https://pdfium-review.googlesource.com/12675 Reviewed-by: Tom Sepez <tsepez@chromium.org> Commit-Queue: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'core/fxcrt/fx_stream.cpp')
-rw-r--r--core/fxcrt/fx_stream.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/core/fxcrt/fx_stream.cpp b/core/fxcrt/fx_stream.cpp
index 0cf34aa22e..c269ec91ed 100644
--- a/core/fxcrt/fx_stream.cpp
+++ b/core/fxcrt/fx_stream.cpp
@@ -12,7 +12,7 @@
#include <vector>
#include "core/fxcrt/fx_safe_types.h"
-#include "core/fxcrt/ifxcrt_fileaccess.h"
+#include "core/fxcrt/ifx_fileaccess.h"
#include "third_party/base/ptr_util.h"
namespace {
@@ -40,11 +40,11 @@ class CFX_CRTFileStream final : public IFX_SeekableStream {
bool Flush() override { return m_pFile->Flush(); }
private:
- explicit CFX_CRTFileStream(std::unique_ptr<IFXCRT_FileAccess> pFA)
+ explicit CFX_CRTFileStream(std::unique_ptr<IFX_FileAccess> pFA)
: m_pFile(std::move(pFA)) {}
~CFX_CRTFileStream() override {}
- std::unique_ptr<IFXCRT_FileAccess> m_pFile;
+ std::unique_ptr<IFX_FileAccess> m_pFile;
};
} // namespace
@@ -53,7 +53,7 @@ class CFX_CRTFileStream final : public IFX_SeekableStream {
CFX_RetainPtr<IFX_SeekableStream> IFX_SeekableStream::CreateFromFilename(
const char* filename,
uint32_t dwModes) {
- std::unique_ptr<IFXCRT_FileAccess> pFA = IFXCRT_FileAccess::Create();
+ std::unique_ptr<IFX_FileAccess> pFA = IFX_FileAccess::Create();
if (!pFA->Open(filename, dwModes))
return nullptr;
return pdfium::MakeRetain<CFX_CRTFileStream>(std::move(pFA));
@@ -63,7 +63,7 @@ CFX_RetainPtr<IFX_SeekableStream> IFX_SeekableStream::CreateFromFilename(
CFX_RetainPtr<IFX_SeekableStream> IFX_SeekableStream::CreateFromFilename(
const wchar_t* filename,
uint32_t dwModes) {
- std::unique_ptr<IFXCRT_FileAccess> pFA = IFXCRT_FileAccess::Create();
+ std::unique_ptr<IFX_FileAccess> pFA = IFX_FileAccess::Create();
if (!pFA->Open(filename, dwModes))
return nullptr;
return pdfium::MakeRetain<CFX_CRTFileStream>(std::move(pFA));