OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "content/common/net/url_request_user_data.h" | 5 #include "content/common/net/url_request_user_data.h" |
6 | 6 |
| 7 namespace content { |
| 8 |
7 URLRequestUserData::URLRequestUserData(int render_process_id, | 9 URLRequestUserData::URLRequestUserData(int render_process_id, |
8 int render_view_id) | 10 int render_view_id) |
9 : render_process_id_(render_process_id), | 11 : render_process_id_(render_process_id), |
10 render_view_id_(render_view_id) {} | 12 render_view_id_(render_view_id) {} |
11 | 13 |
12 URLRequestUserData::~URLRequestUserData() {} | 14 URLRequestUserData::~URLRequestUserData() {} |
13 | 15 |
14 // static | 16 // static |
15 const void* URLRequestUserData::kUserDataKey = | 17 const void* URLRequestUserData::kUserDataKey = |
16 static_cast<const void*>(&URLRequestUserData::kUserDataKey); | 18 static_cast<const void*>(&URLRequestUserData::kUserDataKey); |
| 19 |
| 20 } // namespace content |
OLD | NEW |