mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
libcef: Update due to underlying chromium changes.
- Calling AddStandardScheme() is now required for custom scheme handlers due to GURL changes. - Add '--no-circular-check' flag in cef_create_projects.bat to avoid unnecessary GYP failures. - nphostapi.h moved to third_party/npapi/bindings directory. - UTF functions moved to base/utf_string_conversions.h - app/gfx directory moved to gfx - Add simple cookie jar implementation. - Enable WebGL support. git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@72 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
@ -40,10 +40,10 @@
|
||||
|
||||
#include "base/message_loop.h"
|
||||
#include "base/ref_counted.h"
|
||||
#include "base/string_util.h"
|
||||
#include "base/time.h"
|
||||
#include "base/timer.h"
|
||||
#include "base/thread.h"
|
||||
#include "base/utf_string_conversions.h"
|
||||
#include "base/waitable_event.h"
|
||||
#include "net/base/cookie_policy.h"
|
||||
#include "net/base/io_buffer.h"
|
||||
@ -620,12 +620,16 @@ class ResourceLoaderBridgeImpl : public ResourceLoaderBridge {
|
||||
params_->upload->AppendBytes(data, data_len);
|
||||
}
|
||||
|
||||
virtual void AppendFileRangeToUpload(const FilePath& file_path,
|
||||
uint64 offset, uint64 length) {
|
||||
virtual void AppendFileRangeToUpload(
|
||||
const FilePath& file_path,
|
||||
uint64 offset,
|
||||
uint64 length,
|
||||
const base::Time& expected_modification_time) {
|
||||
DCHECK(params_.get());
|
||||
if (!params_->upload)
|
||||
params_->upload = new net::UploadData();
|
||||
params_->upload->AppendFileRange(file_path, offset, length);
|
||||
params_->upload->AppendFileRange(file_path, offset, length,
|
||||
expected_modification_time);
|
||||
}
|
||||
|
||||
virtual void SetUploadIdentifier(int64 identifier) {
|
||||
|
Reference in New Issue
Block a user