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

Side by Side Diff: fpdfsdk/include/javascript/util.h

Issue 1160443004: Fix ALL the include guards. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Created 5 years, 6 months 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
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 #ifndef _UTIL_H_ 7 #ifndef JAVASCRIPT_UTIL_H_
Lei Zhang 2015/05/27 23:18:21 Is util.h too common? Other files in fpdfsdk/inclu
Tom Sepez 2015/05/28 18:19:56 Yeah, these files have terribly common names. I t
8 #define _UTIL_H_ 8 #define JAVASCRIPT_UTIL_H_
9 9
10 #include <string> // For std::wstring. 10 #include <string> // For std::wstring.
11 11
12 #include "JS_Define.h" 12 #include "JS_Define.h"
13 13
14 class util : public CJS_EmbedObj 14 class util : public CJS_EmbedObj
15 { 15 {
16 public: 16 public:
17 util(CJS_Object * pJSObject); 17 util(CJS_Object * pJSObject);
18 virtual ~util(void); 18 virtual ~util(void);
(...skipping 20 matching lines...) Expand all
39 DECLARE_JS_CLASS(CJS_Util); 39 DECLARE_JS_CLASS(CJS_Util);
40 40
41 JS_STATIC_METHOD(printd, util); 41 JS_STATIC_METHOD(printd, util);
42 JS_STATIC_METHOD(printf, util); 42 JS_STATIC_METHOD(printf, util);
43 JS_STATIC_METHOD(printx, util); 43 JS_STATIC_METHOD(printx, util);
44 JS_STATIC_METHOD(scand, util); 44 JS_STATIC_METHOD(scand, util);
45 JS_STATIC_METHOD(byteToChar, util); 45 JS_STATIC_METHOD(byteToChar, util);
46 }; 46 };
47 47
48 FX_INT64 FX_atoi64(const char *nptr); 48 FX_INT64 FX_atoi64(const char *nptr);
49 #endif //_UTIL_H_ 49
50 #endif // JAVASCRIPT_UTIL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698