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

Side by Side Diff: content/public/common/url_request_user_data.h

Issue 9572001: Do cookie checks in NetworkDelegate instead of the URLRequest::Delegate. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: TestShellNetworkDelegate Created 8 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef CONTENT_PUBLIC_COMMON_URL_REQUEST_USER_DATA_H_
6 #define CONTENT_PUBLIC_COMMON_URL_REQUEST_USER_DATA_H_
7 #pragma once
8
9 #include "base/supports_user_data.h"
10 #include "content/common/content_export.h"
11
12 namespace content {
13
14 // The content library will annotate all URLRequests with the following user
15 // data if the request can be associated with a given render view.
16 class CONTENT_EXPORT URLRequestUserData
17 : public base::SupportsUserData::Data {
18 public:
19 URLRequestUserData(int process_id, int routing_id);
cbentzel 2012/03/05 12:56:12 Nit: this is typically called child_id rather than
jam 2012/03/05 19:11:03 if this is only for renderer processes, then rende
20 virtual ~URLRequestUserData();
21
22 static const void* kUserDataKey;
23
24 int process_id;
willchan no longer on Chromium 2012/03/06 02:59:01 How come these are public? Sorry if I'm nitting yo
25 int routing_id;
26 };
27
28 } // namespace content
29
30 #endif // CONTENT_PUBLIC_COMMON_URL_REQUEST_USER_DATA_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698