summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorTom Sepez <tsepez@chromium.org>2016-02-18 13:54:50 -0800
committerTom Sepez <tsepez@chromium.org>2016-02-18 13:54:50 -0800
commit4422dbd49b949a7019294e91edac96c761430e71 (patch)
tree95100b82b3c6382c129bf533957e39f2a1f798fa /core
parentc7cd809fccd7c5f90c8a2db7ddec7289f9630f53 (diff)
downloadpdfium-4422dbd49b949a7019294e91edac96c761430e71.tar.xz
Remove m_pDownloadCallback.
Not only unused, but ugly-looking. Fix lint along the way. R=thestig@chromium.org Review URL: https://codereview.chromium.org/1709313002 .
Diffstat (limited to 'core')
-rw-r--r--core/include/fpdfapi/fpdf_module.h11
1 files changed, 5 insertions, 6 deletions
diff --git a/core/include/fpdfapi/fpdf_module.h b/core/include/fpdfapi/fpdf_module.h
index 4856184932..dffef9606e 100644
--- a/core/include/fpdfapi/fpdf_module.h
+++ b/core/include/fpdfapi/fpdf_module.h
@@ -78,7 +78,6 @@ class CPDF_ModuleMgr {
CCodec_ModuleMgr* m_pCodecModule;
std::unique_ptr<IPDF_RenderModule> m_pRenderModule;
std::unique_ptr<IPDF_PageModule> m_pPageModule;
- FX_BOOL (*m_pDownloadCallback)(const FX_CHAR* module_name);
CFX_PrivateData m_privateData;
};
@@ -87,8 +86,8 @@ class IPDF_PageModule {
virtual ~IPDF_PageModule() {}
virtual CPDF_DocPageData* CreateDocData(CPDF_Document* pDoc) = 0;
- virtual void ReleaseDoc(CPDF_Document*) = 0;
- virtual void ClearDoc(CPDF_Document*) = 0;
+ virtual void ReleaseDoc(CPDF_Document* pDoc) = 0;
+ virtual void ClearDoc(CPDF_Document* pDoc) = 0;
virtual CPDF_FontGlobals* GetFontGlobals() = 0;
virtual void ClearStockFont(CPDF_Document* pDoc) = 0;
virtual void NotifyCJKAvailable() = 0;
@@ -100,11 +99,11 @@ class IPDF_RenderModule {
virtual ~IPDF_RenderModule() {}
virtual CPDF_DocRenderData* CreateDocData(CPDF_Document* pDoc) = 0;
- virtual void DestroyDocData(CPDF_DocRenderData*) = 0;
- virtual void ClearDocData(CPDF_DocRenderData*) = 0;
+ virtual void DestroyDocData(CPDF_DocRenderData* pDocRenderData) = 0;
+ virtual void ClearDocData(CPDF_DocRenderData* pDocRenderData) = 0;
virtual CPDF_DocRenderData* GetRenderData() = 0;
virtual CPDF_PageRenderCache* CreatePageCache(CPDF_Page* pPage) = 0;
- virtual void DestroyPageCache(CPDF_PageRenderCache*) = 0;
+ virtual void DestroyPageCache(CPDF_PageRenderCache* pCache) = 0;
};
#endif // CORE_INCLUDE_FPDFAPI_FPDF_MODULE_H_