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

Unified Diff: xfa/src/fxbarcode/BC_TwoDimWriter.h

Issue 1413253003: XFA: Actually fix all relative includes to third_party. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@xfa
Patch Set: rebase Created 5 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
« no previous file with comments | « xfa/include/fxbarcode/BC_BarCode.h ('k') | xfa/src/fxbarcode/BC_Writer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: xfa/src/fxbarcode/BC_TwoDimWriter.h
diff --git a/xfa/src/fxbarcode/BC_TwoDimWriter.h b/xfa/src/fxbarcode/BC_TwoDimWriter.h
index 1afe59fb006461a892becfc4ec0adb3c9add8927..6a9866bd51e8cedc0d46430de29a059f13d0e854 100644
--- a/xfa/src/fxbarcode/BC_TwoDimWriter.h
+++ b/xfa/src/fxbarcode/BC_TwoDimWriter.h
@@ -4,12 +4,13 @@
// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
-#ifndef _BC_TWODIMWRITER_H_
-#define _BC_TWODIMWRITER_H_
-#include "BC_Writer.h"
-class CBC_Writer;
+#ifndef XFA_SRC_FXBARCODE_BC_TWODIMWRITER_H_
+#define XFA_SRC_FXBARCODE_BC_TWODIMWRITER_H_
+
+#include "xfa/src/fxbarcode/BC_Writer.h"
+
class CBC_CommonBitMatrix;
-class CBC_TwoDimWriter;
+
class CBC_TwoDimWriter : public CBC_Writer {
public:
CBC_TwoDimWriter();
@@ -19,7 +20,7 @@ class CBC_TwoDimWriter : public CBC_Writer {
int32_t& outWidth,
int32_t& outHeight,
int32_t& e) {
- return NULL;
+ return nullptr;
};
virtual uint8_t* Encode(const CFX_ByteString& contents,
BCFORMAT format,
@@ -27,14 +28,14 @@ class CBC_TwoDimWriter : public CBC_Writer {
int32_t& outHeight,
int32_t hints,
int32_t& e) {
- return NULL;
+ return nullptr;
};
virtual uint8_t* Encode(const CFX_ByteString& contents,
BCFORMAT format,
int32_t& outWidth,
int32_t& outHeight,
int32_t& e) {
- return NULL;
+ return nullptr;
};
virtual void RenderResult(uint8_t* code,
int32_t codeWidth,
@@ -51,4 +52,5 @@ class CBC_TwoDimWriter : public CBC_Writer {
FX_BOOL m_bFixedSize;
CBC_CommonBitMatrix* m_output;
};
-#endif
+
+#endif // XFA_SRC_FXBARCODE_BC_TWODIMWRITER_H_
« no previous file with comments | « xfa/include/fxbarcode/BC_BarCode.h ('k') | xfa/src/fxbarcode/BC_Writer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698