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

Side by Side Diff: fpdfsdk/javascript/report.cpp

Issue 2453683011: Remove FX_BOOL from fpdfsdk. (Closed)
Patch Set: Regenerate patch after rebase. 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 unified diff | Download patch
« no previous file with comments | « fpdfsdk/javascript/report.h ('k') | fpdfsdk/javascript/util.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 PDFium Authors. All rights reserved. 1 // Copyright 2014 PDFium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com 5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
6 6
7 #include "fpdfsdk/javascript/report.h" 7 #include "fpdfsdk/javascript/report.h"
8 8
9 #include <vector> 9 #include <vector>
10 10
(...skipping 11 matching lines...) Expand all
22 JS_STATIC_METHOD_ENTRY(save) 22 JS_STATIC_METHOD_ENTRY(save)
23 JS_STATIC_METHOD_ENTRY(writeText) 23 JS_STATIC_METHOD_ENTRY(writeText)
24 END_JS_STATIC_METHOD() 24 END_JS_STATIC_METHOD()
25 25
26 IMPLEMENT_JS_CLASS(CJS_Report, Report) 26 IMPLEMENT_JS_CLASS(CJS_Report, Report)
27 27
28 Report::Report(CJS_Object* pJSObject) : CJS_EmbedObj(pJSObject) {} 28 Report::Report(CJS_Object* pJSObject) : CJS_EmbedObj(pJSObject) {}
29 29
30 Report::~Report() {} 30 Report::~Report() {}
31 31
32 FX_BOOL Report::writeText(IJS_Context* cc, 32 bool Report::writeText(IJS_Context* cc,
33 const std::vector<CJS_Value>& params, 33 const std::vector<CJS_Value>& params,
34 CJS_Value& vRet, 34 CJS_Value& vRet,
35 CFX_WideString& sError) { 35 CFX_WideString& sError) {
36 // Unsafe, not supported. 36 // Unsafe, not supported.
37 return TRUE; 37 return true;
38 } 38 }
39 39
40 FX_BOOL Report::save(IJS_Context* cc, 40 bool Report::save(IJS_Context* cc,
41 const std::vector<CJS_Value>& params, 41 const std::vector<CJS_Value>& params,
42 CJS_Value& vRet, 42 CJS_Value& vRet,
43 CFX_WideString& sError) { 43 CFX_WideString& sError) {
44 // Unsafe, not supported. 44 // Unsafe, not supported.
45 return TRUE; 45 return true;
46 } 46 }
OLDNEW
« no previous file with comments | « fpdfsdk/javascript/report.h ('k') | fpdfsdk/javascript/util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698