Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1634)

Unified Diff: content/public/child/fixed_received_data.h

Issue 1159113009: Revert of Make WebURLLoader capable of retaining received buffers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/content_tests.gypi ('k') | content/public/child/fixed_received_data.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/child/fixed_received_data.h
diff --git a/content/public/child/fixed_received_data.h b/content/public/child/fixed_received_data.h
deleted file mode 100644
index beb2c41dc6d94963ac24e41ba2401464ba64ab7a..0000000000000000000000000000000000000000
--- a/content/public/child/fixed_received_data.h
+++ /dev/null
@@ -1,37 +0,0 @@
-// Copyright 2015 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.
-
-#ifndef CONTENT_PUBLIC_CHILD_FIXED_RECEIVED_DATA_H_
-#define CONTENT_PUBLIC_CHILD_FIXED_RECEIVED_DATA_H_
-
-#include <vector>
-
-#include "base/memory/scoped_ptr.h"
-#include "content/common/content_export.h"
-#include "content/public/child/request_peer.h"
-
-namespace content {
-
-class CONTENT_EXPORT FixedReceivedData final
- : public RequestPeer::ReceivedData {
- public:
- FixedReceivedData(const char* data, size_t length, int encoded_length);
- explicit FixedReceivedData(scoped_ptr<ReceivedData> data);
- FixedReceivedData(const std::vector<char>& data, int encoded_length);
- ~FixedReceivedData() override;
-
- const char* payload() const override;
- int length() const override;
- int encoded_length() const override;
-
- private:
- std::vector<char> data_;
- int encoded_length_;
-
- DISALLOW_COPY_AND_ASSIGN(FixedReceivedData);
-};
-
-} // namespace content
-
-#endif // CONTENT_PUBLIC_CHILD_FIXED_RECEIVED_DATA_H_
« no previous file with comments | « content/content_tests.gypi ('k') | content/public/child/fixed_received_data.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698