diff options
author | sanga@chromium.org <sanga@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-07-13 01:04:59 +0000 |
---|---|---|
committer | sanga@chromium.org <sanga@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-07-13 01:04:59 +0000 |
commit | 25ffe85f718246d6e8b5954c27429d0ff5ddb8e3 (patch) | |
tree | ea803ea8535d126817b930a8572d852621d6b260 /ppapi/cpp/url_request_info.cc | |
parent | 215b42819afef0a04b534c086f6fa85f584d3035 (diff) | |
download | chromium_src-25ffe85f718246d6e8b5954c27429d0ff5ddb8e3.zip chromium_src-25ffe85f718246d6e8b5954c27429d0ff5ddb8e3.tar.gz chromium_src-25ffe85f718246d6e8b5954c27429d0ff5ddb8e3.tar.bz2 |
Updating the C++ PPAPI to use non-dev File interfaces.
Review URL: http://codereview.chromium.org/7345001
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@92290 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ppapi/cpp/url_request_info.cc')
-rw-r--r-- | ppapi/cpp/url_request_info.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ppapi/cpp/url_request_info.cc b/ppapi/cpp/url_request_info.cc index 7054a909..1b31240 100644 --- a/ppapi/cpp/url_request_info.cc +++ b/ppapi/cpp/url_request_info.cc @@ -1,10 +1,10 @@ -// Copyright (c) 2010 The Chromium Authors. All rights reserved. +// Copyright (c) 2011 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "ppapi/cpp/url_request_info.h" -#include "ppapi/cpp/dev/file_ref_dev.h" +#include "ppapi/cpp/file_ref.h" #include "ppapi/cpp/instance.h" #include "ppapi/cpp/module.h" #include "ppapi/cpp/module_impl.h" @@ -45,7 +45,7 @@ bool URLRequestInfo::AppendDataToBody(const void* data, uint32_t len) { pp_resource(), data, len)); } -bool URLRequestInfo::AppendFileToBody(const FileRef_Dev& file_ref, +bool URLRequestInfo::AppendFileToBody(const FileRef& file_ref, PP_Time expected_last_modified_time) { if (!has_interface<PPB_URLRequestInfo>()) return false; @@ -59,7 +59,7 @@ bool URLRequestInfo::AppendFileToBody(const FileRef_Dev& file_ref, } bool URLRequestInfo::AppendFileRangeToBody( - const FileRef_Dev& file_ref, + const FileRef& file_ref, int64_t start_offset, int64_t length, PP_Time expected_last_modified_time) { |