OLD | NEW |
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/JS_GlobalData.h" | 7 #include "fpdfsdk/javascript/JS_GlobalData.h" |
8 | 8 |
9 #include "core/fdrm/crypto/include/fx_crypt.h" | 9 #include "core/fdrm/crypto/include/fx_crypt.h" |
10 #include "third_party/base/stl_util.h" | 10 #include "third_party/base/stl_util.h" |
(...skipping 435 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
446 case JS_GLOBALDATA_TYPE_NULL: { | 446 case JS_GLOBALDATA_TYPE_NULL: { |
447 uint32_t dwNameLen = (uint32_t)name.GetLength(); | 447 uint32_t dwNameLen = (uint32_t)name.GetLength(); |
448 sData.AppendBlock(&dwNameLen, sizeof(uint32_t)); | 448 sData.AppendBlock(&dwNameLen, sizeof(uint32_t)); |
449 sData.AppendString(name); | 449 sData.AppendString(name); |
450 sData.AppendBlock(&wType, sizeof(uint32_t)); | 450 sData.AppendBlock(&wType, sizeof(uint32_t)); |
451 } break; | 451 } break; |
452 default: | 452 default: |
453 break; | 453 break; |
454 } | 454 } |
455 } | 455 } |
| 456 |
| 457 CJS_KeyValue::CJS_KeyValue() {} |
| 458 |
| 459 CJS_KeyValue::~CJS_KeyValue() {} |
OLD | NEW |