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

Unified Diff: net/http/http_request_info.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/http/http_request_headers_unittest.cc ('k') | net/http/http_request_info.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/http/http_request_info.h
diff --git a/net/http/http_request_info.h b/net/http/http_request_info.h
deleted file mode 100644
index a587a421b5854d1d3405aeb359d03d4e4af495d7..0000000000000000000000000000000000000000
--- a/net/http/http_request_info.h
+++ /dev/null
@@ -1,59 +0,0 @@
-// 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.
-
-#ifndef NET_HTTP_HTTP_REQUEST_INFO_H__
-#define NET_HTTP_HTTP_REQUEST_INFO_H__
-
-#include <string>
-
-#include "base/basictypes.h"
-#include "net/base/net_export.h"
-#include "net/base/privacy_mode.h"
-#include "net/http/http_request_headers.h"
-#include "url/gurl.h"
-
-namespace net {
-
-class UploadDataStream;
-
-struct NET_EXPORT HttpRequestInfo {
- enum RequestMotivation{
- // TODO(mbelshe): move these into Client Socket.
- PRECONNECT_MOTIVATED, // Request was motivated by a prefetch.
- OMNIBOX_MOTIVATED, // Request was motivated by the omnibox.
- NORMAL_MOTIVATION, // No special motivation associated with the request.
- EARLY_LOAD_MOTIVATED, // When browser asks a tab to open an URL, this short
- // circuits that path (of waiting for the renderer to
- // do the URL request), and starts loading ASAP.
- };
-
- HttpRequestInfo();
- ~HttpRequestInfo();
-
- // The requested URL.
- GURL url;
-
- // The method to use (GET, POST, etc.).
- std::string method;
-
- // Any extra request headers (including User-Agent).
- HttpRequestHeaders extra_headers;
-
- // Any upload data.
- UploadDataStream* upload_data_stream;
-
- // Any load flags (see load_flags.h).
- int load_flags;
-
- // The motivation behind this request.
- RequestMotivation motivation;
-
- // If enabled, then request must be sent over connection that cannot be
- // tracked by the server (e.g. without channel id).
- PrivacyMode privacy_mode;
-};
-
-} // namespace net
-
-#endif // NET_HTTP_HTTP_REQUEST_INFO_H__
« no previous file with comments | « net/http/http_request_headers_unittest.cc ('k') | net/http/http_request_info.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698