Bug 138413

Summary: Add cache coders
Product: WebKit Reporter: Antti Koivisto <koivisto>
Component: Page LoadingAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: andersca, cgarcia, commit-queue, sam, syoichi
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 30322    
Attachments:
Description Flags
patch andersca: review+

Antti Koivisto
Reported 2014-11-05 02:48:02 PST
Based on the IPC coders
Attachments
patch (45.68 KB, patch)
2014-11-05 03:01 PST, Antti Koivisto
andersca: review+
Antti Koivisto
Comment 1 2014-11-05 03:01:15 PST
WebKit Commit Bot
Comment 2 2014-11-05 03:03:32 PST
Attachment 241016 [details] did not pass style-queue: ERROR: Source/WebKit2/NetworkProcess/cache/NetworkCacheEncoder.h:95: More than one command on the same line [whitespace/newline] [4] ERROR: Source/WebKit2/NetworkProcess/cache/NetworkCacheEncoder.h:96: More than one command on the same line [whitespace/newline] [4] ERROR: Source/WebKit2/NetworkProcess/cache/NetworkCacheEncoder.h:97: More than one command on the same line [whitespace/newline] [4] ERROR: Source/WebKit2/NetworkProcess/cache/NetworkCacheEncoder.h:98: More than one command on the same line [whitespace/newline] [4] ERROR: Source/WebKit2/NetworkProcess/cache/NetworkCacheEncoder.h:99: More than one command on the same line [whitespace/newline] [4] ERROR: Source/WebKit2/NetworkProcess/cache/NetworkCacheEncoder.h:100: More than one command on the same line [whitespace/newline] [4] ERROR: Source/WebKit2/NetworkProcess/cache/NetworkCacheEncoder.h:101: More than one command on the same line [whitespace/newline] [4] ERROR: Source/WebKit2/NetworkProcess/cache/NetworkCacheEncoder.h:102: More than one command on the same line [whitespace/newline] [4] ERROR: Source/WebKit2/NetworkProcess/cache/NetworkCacheEncoder.h:103: More than one command on the same line [whitespace/newline] [4] ERROR: Source/WebKit2/NetworkProcess/cache/NetworkCacheEncoder.h:104: More than one command on the same line [whitespace/newline] [4] Total errors found: 10 in 9 files If any of these errors are false positives, please file a bug against check-webkit-style.
Carlos Garcia Campos
Comment 3 2014-11-05 03:21:21 PST
Comment on attachment 241016 [details] patch View in context: https://bugs.webkit.org/attachment.cgi?id=241016&action=review > Source/WebKit2/NetworkProcess/cache/NetworkCacheCoders.cpp:163 > + long long certificateSize; > + if (!decoder.decode(certificateSize)) This is long long, but there isn't a NetworkCacheDecoder::decode(long long&);
Anders Carlsson
Comment 4 2014-11-06 13:44:13 PST
Comment on attachment 241016 [details] patch View in context: https://bugs.webkit.org/attachment.cgi?id=241016&action=review > Source/WebKit2/NetworkProcess/cache/NetworkCacheCoders.cpp:162 > + long long certificateSize; This should probably be int64_t.
Carlos Garcia Campos
Comment 5 2014-11-06 22:42:09 PST
Comment on attachment 241016 [details] patch View in context: https://bugs.webkit.org/attachment.cgi?id=241016&action=review > Source/WebKit2/NetworkProcess/cache/NetworkCacheCoders.cpp:156 > + encoder << static_cast<long long>(argumentEncoder.bufferSize()); And here too.
Antti Koivisto
Comment 6 2014-11-07 05:08:17 PST
Note You need to log in before you can comment on or make changes to this bug.