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

Unified Diff: net/url_request/url_range_request_job.h

Issue 992733002: Remove //net (except for Android test stuff) and sdch (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 9 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 | « net/url_request/url_fetcher_response_writer_unittest.cc ('k') | net/url_request/url_range_request_job.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/url_request/url_range_request_job.h
diff --git a/net/url_request/url_range_request_job.h b/net/url_request/url_range_request_job.h
deleted file mode 100644
index 38a6802b85cce203aa30da7ef353c85fedf419a8..0000000000000000000000000000000000000000
--- a/net/url_request/url_range_request_job.h
+++ /dev/null
@@ -1,42 +0,0 @@
-// Copyright 2014 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 NET_URL_REQUEST_URL_RANGE_REQUEST_JOB_H_
-#define NET_URL_REQUEST_URL_RANGE_REQUEST_JOB_H_
-
-#include <vector>
-
-#include "net/base/net_export.h"
-#include "net/http/http_byte_range.h"
-#include "net/url_request/url_request_job.h"
-
-namespace net {
-
-class HttpRequestHeaders;
-
-// URLRequestJob with support for parsing range requests.
-// It is up to subclasses to handle the response
-// and deal with an errors parsing the range request header.
-// This must be done after Start() has been called.
-class NET_EXPORT URLRangeRequestJob : public URLRequestJob {
- public:
- URLRangeRequestJob(URLRequest* request,
- NetworkDelegate* delegate);
-
- void SetExtraRequestHeaders(const HttpRequestHeaders& headers) override;
-
- const std::vector<HttpByteRange>& ranges() const { return ranges_; }
- int range_parse_result() const { return range_parse_result_; }
-
- protected:
- ~URLRangeRequestJob() override;
-
- private:
- std::vector<HttpByteRange> ranges_;
- int range_parse_result_;
-};
-
-} // namespace net
-
-#endif // NET_URL_REQUEST_URL_RANGE_REQUEST_JOB_H_
« no previous file with comments | « net/url_request/url_fetcher_response_writer_unittest.cc ('k') | net/url_request/url_range_request_job.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698