summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
Diffstat (limited to 'net')
-rw-r--r--net/url_request/url_request.cc2
-rw-r--r--net/url_request/url_request.h10
2 files changed, 0 insertions, 12 deletions
diff --git a/net/url_request/url_request.cc b/net/url_request/url_request.cc
index d94c8dc..bf8fd5a 100644
--- a/net/url_request/url_request.cc
+++ b/net/url_request/url_request.cc
@@ -5,7 +5,6 @@
#include "net/url_request/url_request.h"
#include "base/message_loop.h"
-#include "base/process_util.h"
#include "base/singleton.h"
#include "base/stats_counters.h"
#include "base/string_util.h"
@@ -53,7 +52,6 @@ URLRequest::URLRequest(const GURL& url, Delegate* delegate)
priority_(0) {
URLREQUEST_COUNT_CTOR();
SIMPLE_STATS_COUNTER("URLRequestCount");
- origin_pid_ = base::GetCurrentProcId();
// Sanity check out environment.
DCHECK(MessageLoop::current()) <<
diff --git a/net/url_request/url_request.h b/net/url_request/url_request.h
index c395125..14c6287 100644
--- a/net/url_request/url_request.h
+++ b/net/url_request/url_request.h
@@ -389,12 +389,6 @@ class URLRequest {
int load_flags() const { return load_flags_; }
void set_load_flags(int flags) { load_flags_ = flags; }
- // Accessors to the pid of the process this request originated from.
- int origin_pid() const { return origin_pid_; }
- void set_origin_pid(int proc_id) {
- origin_pid_ = proc_id;
- }
-
// Returns true if the request is "pending" (i.e., if Start() has been called,
// and the response has not yet been called).
bool is_pending() const { return is_pending_; }
@@ -569,10 +563,6 @@ class URLRequest {
int load_flags_; // Flags indicating the request type for the load;
// expected values are LOAD_* enums above.
- // The pid of the process that initiated this request. Initialized to the id
- // of the current process.
- int origin_pid_;
-
Delegate* delegate_;
// Current error status of the job. When no error has been encountered, this