summaryrefslogtreecommitdiffstats
path: root/chrome/browser/net/url_request_tracking.h
diff options
context:
space:
mode:
authorjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-05-23 19:35:01 +0000
committerjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-05-23 19:35:01 +0000
commit3062672163bddcbefb7a96036559c16020999c55 (patch)
tree14b718204be53f772dbc6005386104b8a556bbb6 /chrome/browser/net/url_request_tracking.h
parentd208a9d8314f170e11cd5692a9ad1ca8eb3c8544 (diff)
downloadchromium_src-3062672163bddcbefb7a96036559c16020999c55.zip
chromium_src-3062672163bddcbefb7a96036559c16020999c55.tar.gz
chromium_src-3062672163bddcbefb7a96036559c16020999c55.tar.bz2
Get rid of url_request_tracking.*. The only other place that used it other than ResourceDispatcherHost was the plugin installer. It doesn't really matter which process the request for downloading a plugin (which is very infrequent) shows up for, and arguably, it's better to show up under the browser process.
BUG=76697 Review URL: http://codereview.chromium.org/7054023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@86324 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/net/url_request_tracking.h')
-rw-r--r--chrome/browser/net/url_request_tracking.h37
1 files changed, 0 insertions, 37 deletions
diff --git a/chrome/browser/net/url_request_tracking.h b/chrome/browser/net/url_request_tracking.h
deleted file mode 100644
index 497dfb2..0000000
--- a/chrome/browser/net/url_request_tracking.h
+++ /dev/null
@@ -1,37 +0,0 @@
-// Copyright (c) 2010 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 CHROME_BROWSER_NET_URL_REQUEST_TRACKING_H_
-#define CHROME_BROWSER_NET_URL_REQUEST_TRACKING_H_
-#pragma once
-
-namespace net {
-class URLRequest;
-} // namespace net
-
-namespace chrome_browser_net {
-
-// Sets the given ID on the given request for later retrieval. This information
-// duplicates a field in the ResourceDispatcherHost's user data, but is also
-// set for non-ResourceDispatcher-related requests. Having this one global
-// place allows us to do more general things, such as assigning traffic for the
-// network view in the task manager.
-//
-// If you make a request on behalf of a child process other than a renderer,
-// please call this function to store its PID (NOT its browser-assigned unique
-// child ID). For requests originating in a renderer or the browser itself,
-// set a PID of zero (the default).
-//
-// TODO(wez): Get rid of the zero-PID hack & enforce that one is always set.
-void SetOriginPIDForRequest(int pid, net::URLRequest* request);
-
-// Returns the process ID of the request's originator, previously stored with
-// SetOriginProcessIDForRequest, or zero if no PID has been set. A PID of zero
-// should be interpreted as meaning the request originated from a renderer
-// process, or within the browser itself.
-int GetOriginPIDForRequest(const net::URLRequest* request);
-
-} // namespace chrome_browser_net
-
-#endif // CHROME_BROWSER_NET_URL_REQUEST_TRACKING_H_