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

Unified Diff: net/url_request/url_request_data_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_request_context_storage.cc ('k') | net/url_request/url_request_data_job.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/url_request/url_request_data_job.h
diff --git a/net/url_request/url_request_data_job.h b/net/url_request/url_request_data_job.h
deleted file mode 100644
index 0b3c7fad1e2317ff58d6d8c0baea5b01f0130d19..0000000000000000000000000000000000000000
--- a/net/url_request/url_request_data_job.h
+++ /dev/null
@@ -1,46 +0,0 @@
-// Copyright (c) 2012 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_REQUEST_DATA_JOB_H_
-#define NET_URL_REQUEST_URL_REQUEST_DATA_JOB_H_
-
-#include <string>
-
-#include "net/url_request/url_request.h"
-#include "net/url_request/url_request_simple_job.h"
-
-class GURL;
-
-namespace net {
-
-class HttpResponseHeaders;
-class URLRequest;
-
-class NET_EXPORT URLRequestDataJob : public URLRequestSimpleJob {
- public:
- // Extracts info from a data scheme URL. Returns OK if successful. Returns
- // ERR_INVALID_URL otherwise.
- static int BuildResponse(const GURL& url,
- std::string* mime_type,
- std::string* charset,
- std::string* data,
- HttpResponseHeaders* headers);
-
- URLRequestDataJob(URLRequest* request, NetworkDelegate* network_delegate);
-
- // URLRequestSimpleJob
- int GetData(std::string* mime_type,
- std::string* charset,
- std::string* data,
- const CompletionCallback& callback) const override;
-
- private:
- ~URLRequestDataJob() override;
-
- DISALLOW_COPY_AND_ASSIGN(URLRequestDataJob);
-};
-
-} // namespace net
-
-#endif // NET_URL_REQUEST_URL_REQUEST_DATA_JOB_H_
« no previous file with comments | « net/url_request/url_request_context_storage.cc ('k') | net/url_request/url_request_data_job.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698