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 "ppapi/proxy/mock_resource.h" | 5 #include "ppapi/shared_impl/url_response_info_data.h" |
6 | 6 |
7 namespace ppapi { | 7 namespace ppapi { |
8 namespace proxy { | |
9 | 8 |
10 MockResource::MockResource(const HostResource& resource) | 9 URLResponseInfoData::URLResponseInfoData() : status_code(-1) { |
11 : Resource(OBJECT_IS_PROXY, resource) { | |
12 } | 10 } |
13 | 11 |
14 MockResource::~MockResource() { | 12 URLResponseInfoData::~URLResponseInfoData() { |
15 } | 13 } |
16 | 14 |
17 } // namespace proxy | |
18 } // namespace ppapi | 15 } // namespace ppapi |
OLD | NEW |