Chromium Code Reviews| OLD | NEW |
|---|---|
| (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 #include "content/public/common/url_request_user_data.h" | |
|
jam
2012/03/05 19:11:03
is this cc file needed at all? we try to avoid cc
jochen (gone - plz use gerrit)
2012/03/06 18:39:54
I need the .cc file for the static const, however,
| |
| 6 | |
| 7 namespace content { | |
| 8 | |
| 9 URLRequestUserData::URLRequestUserData(int process_id, int routing_id) | |
| 10 : process_id(process_id), | |
| 11 routing_id(routing_id) {} | |
| 12 | |
| 13 URLRequestUserData::~URLRequestUserData() {} | |
| 14 | |
| 15 // static | |
| 16 const void* URLRequestUserData::kUserDataKey = | |
|
cbentzel
2012/03/05 12:56:12
Funky - most other cases I've seen use a NULL-term
| |
| 17 static_cast<const void*>(&URLRequestUserData::kUserDataKey); | |
| 18 | |
| 19 } // namespace content | |
| OLD | NEW |