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

Unified Diff: core/fpdfapi/parser/cpdf_linearized_header.h

Issue 2482973002: Rename CPDF_Linearized to CPDF_LinearizedHeader (Closed)
Patch Set: Remove if 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 side-by-side diff with in-line comments
Download patch
Index: core/fpdfapi/parser/cpdf_linearized_header.h
diff --git a/core/fpdfapi/parser/cpdf_linearized.h b/core/fpdfapi/parser/cpdf_linearized_header.h
similarity index 80%
rename from core/fpdfapi/parser/cpdf_linearized.h
rename to core/fpdfapi/parser/cpdf_linearized_header.h
index caf538e3feeb42df994083bd5146dc73ec5ded5c..0d6d725f0050d2f1c73b660f86d695b947a43ed5 100644
--- a/core/fpdfapi/parser/cpdf_linearized.h
+++ b/core/fpdfapi/parser/cpdf_linearized_header.h
@@ -4,8 +4,8 @@
// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
-#ifndef CORE_FPDFAPI_PARSER_CPDF_LINEARIZED_H_
-#define CORE_FPDFAPI_PARSER_CPDF_LINEARIZED_H_
+#ifndef CORE_FPDFAPI_PARSER_CPDF_LINEARIZED_HEADER_H_
+#define CORE_FPDFAPI_PARSER_CPDF_LINEARIZED_HEADER_H_
#include <memory>
@@ -15,10 +15,10 @@
class CPDF_Dictionary;
class CPDF_Object;
-class CPDF_Linearized {
+class CPDF_LinearizedHeader {
public:
- ~CPDF_Linearized();
- static std::unique_ptr<CPDF_Linearized> CreateForObject(
+ ~CPDF_LinearizedHeader();
+ static std::unique_ptr<CPDF_LinearizedHeader> CreateForObject(
std::unique_ptr<CPDF_Object> pObj);
// Will only return values > 0.
@@ -39,7 +39,7 @@ class CPDF_Linearized {
FX_FILESIZE GetHintLength() const { return m_szHintLength; }
protected:
- explicit CPDF_Linearized(const CPDF_Dictionary* pDict);
+ explicit CPDF_LinearizedHeader(const CPDF_Dictionary* pDict);
private:
FX_FILESIZE m_szFileSize = 0;
@@ -52,4 +52,4 @@ class CPDF_Linearized {
FX_FILESIZE m_szHintLength = 0;
};
-#endif // CORE_FPDFAPI_PARSER_CPDF_LINEARIZED_H_
+#endif // CORE_FPDFAPI_PARSER_CPDF_LINEARIZED_HEADER_H_

Powered by Google App Engine
This is Rietveld 408576698