summaryrefslogtreecommitdiff
path: root/core/include/fpdfapi
diff options
context:
space:
mode:
authorBo Xu <bo_xu@foxitsoftware.com>2014-06-12 13:40:04 -0700
committerBo Xu <bo_xu@foxitsoftware.com>2014-06-12 13:40:04 -0700
commita5572c3715624b38ac861c87236185f98fa9083b (patch)
treee1a081264c67430c2aabc33681fc51c07e3b9cbc /core/include/fpdfapi
parent3084c79dce15a41c056d4e5c634e09010e7323e0 (diff)
downloadpdfium-a5572c3715624b38ac861c87236185f98fa9083b.tar.xz
Enable security removal in FPDF_Doc_Save
R=jam@chromium.org Review URL: https://codereview.chromium.org/333753002
Diffstat (limited to 'core/include/fpdfapi')
-rw-r--r--core/include/fpdfapi/fpdf_serial.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/core/include/fpdfapi/fpdf_serial.h b/core/include/fpdfapi/fpdf_serial.h
index 87ec7b5a05..a91870b5a5 100644
--- a/core/include/fpdfapi/fpdf_serial.h
+++ b/core/include/fpdfapi/fpdf_serial.h
@@ -1,7 +1,7 @@
// Copyright 2014 PDFium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-
+
// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
#ifndef _FPDF_SERIAL_
@@ -121,6 +121,8 @@ public:
~CPDF_Creator();
+ void RemoveSecurity();
+
FX_BOOL Create(FX_LPCWSTR filename, FX_DWORD flags = 0);
FX_BOOL Create(FX_LPCSTR filename, FX_DWORD flags = 0);