diff options
author | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2018-08-28 15:28:34 +0200 |
---|---|---|
committer | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2018-08-28 13:54:51 +0000 |
commit | 2a19c63448c84c1805fb1a585c3651318bb86ca7 (patch) | |
tree | eb17888e8531aa6ee5e85721bd553b832a7e5156 /chromium/net/tools/cachetool | |
parent | b014812705fc80bff0a5c120dfcef88f349816dc (diff) | |
download | qtwebengine-chromium-2a19c63448c84c1805fb1a585c3651318bb86ca7.tar.gz |
BASELINE: Update Chromium to 69.0.3497.70
Change-Id: I2b7b56e4e7a8b26656930def0d4575dc32b900a0
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Diffstat (limited to 'chromium/net/tools/cachetool')
-rw-r--r-- | chromium/net/tools/cachetool/cachetool.cc | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/chromium/net/tools/cachetool/cachetool.cc b/chromium/net/tools/cachetool/cachetool.cc index 9e66faef6c7..3a6468f0138 100644 --- a/chromium/net/tools/cachetool/cachetool.cc +++ b/chromium/net/tools/cachetool/cachetool.cc @@ -474,8 +474,8 @@ scoped_refptr<net::GrowableIOBuffer> GetStreamForKeyBuffer( DCHECK(!command_marshal->has_failed()); Entry* cache_entry; net::TestCompletionCallback cb; - int rv = command_marshal->cache_backend()->OpenEntry(key, &cache_entry, - cb.callback()); + int rv = command_marshal->cache_backend()->OpenEntry( + key, net::HIGHEST, &cache_entry, cb.callback()); if (cb.GetResult(rv) != net::OK) { command_marshal->ReturnFailure("Couldn't find key's entry."); return nullptr; @@ -560,8 +560,8 @@ void UpdateRawResponseHeaders(CommandMarshal* command_marshal) { data->Done(); Entry* cache_entry; net::TestCompletionCallback cb; - int rv = command_marshal->cache_backend()->OpenEntry(key, &cache_entry, - cb.callback()); + int rv = command_marshal->cache_backend()->OpenEntry( + key, net::HIGHEST, &cache_entry, cb.callback()); CHECK(cb.GetResult(rv) == net::OK); int data_len = data->pickle()->size(); rv = cache_entry->WriteData(kResponseInfoIndex, 0, data.get(), data_len, @@ -580,8 +580,8 @@ void DeleteStreamForKey(CommandMarshal* command_marshal) { return; Entry* cache_entry; net::TestCompletionCallback cb; - int rv = command_marshal->cache_backend()->OpenEntry(key, &cache_entry, - cb.callback()); + int rv = command_marshal->cache_backend()->OpenEntry( + key, net::HIGHEST, &cache_entry, cb.callback()); if (cb.GetResult(rv) != net::OK) return command_marshal->ReturnFailure("Couldn't find key's entry."); @@ -599,7 +599,8 @@ void DeleteKey(CommandMarshal* command_marshal) { if (command_marshal->has_failed()) return; net::TestCompletionCallback cb; - int rv = command_marshal->cache_backend()->DoomEntry(key, cb.callback()); + int rv = command_marshal->cache_backend()->DoomEntry(key, net::HIGHEST, + cb.callback()); if (cb.GetResult(rv) != net::OK) command_marshal->ReturnFailure("Couldn't delete key."); else |