summaryrefslogtreecommitdiffstats
path: root/chromium/webkit/common/resource_request_body.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/webkit/common/resource_request_body.cc')
-rw-r--r--chromium/webkit/common/resource_request_body.cc45
1 files changed, 0 insertions, 45 deletions
diff --git a/chromium/webkit/common/resource_request_body.cc b/chromium/webkit/common/resource_request_body.cc
deleted file mode 100644
index 42b798fefe1..00000000000
--- a/chromium/webkit/common/resource_request_body.cc
+++ /dev/null
@@ -1,45 +0,0 @@
-// Copyright 2013 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 "webkit/common/resource_request_body.h"
-
-namespace webkit_glue {
-
-ResourceRequestBody::ResourceRequestBody()
- : identifier_(0) {
-}
-
-void ResourceRequestBody::AppendBytes(const char* bytes, int bytes_len) {
- if (bytes_len > 0) {
- elements_.push_back(Element());
- elements_.back().SetToBytes(bytes, bytes_len);
- }
-}
-
-void ResourceRequestBody::AppendFileRange(
- const base::FilePath& file_path,
- uint64 offset, uint64 length,
- const base::Time& expected_modification_time) {
- elements_.push_back(Element());
- elements_.back().SetToFilePathRange(file_path, offset, length,
- expected_modification_time);
-}
-
-void ResourceRequestBody::AppendBlob(const std::string& uuid) {
- elements_.push_back(Element());
- elements_.back().SetToBlob(uuid);
-}
-
-void ResourceRequestBody::AppendFileSystemFileRange(
- const GURL& url, uint64 offset, uint64 length,
- const base::Time& expected_modification_time) {
- elements_.push_back(Element());
- elements_.back().SetToFileSystemUrlRange(url, offset, length,
- expected_modification_time);
-}
-
-ResourceRequestBody::~ResourceRequestBody() {
-}
-
-} // namespace webkit_glue