Delete historical data usage from store when user clears data usage.
[chromium-blink-merge.git] / ppapi / shared_impl / url_response_info_data.h
blobc6f7dbd197fe09992380ace9f3ad04a246cdcc41
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.
5 #ifndef PPAPI_SHARED_IMPL_URL_RESPONSE_INFO_DATA_H_
6 #define PPAPI_SHARED_IMPL_URL_RESPONSE_INFO_DATA_H_
8 #include <string>
10 #include "ppapi/c/pp_stdint.h"
11 #include "ppapi/shared_impl/file_ref_create_info.h"
12 #include "ppapi/shared_impl/ppapi_shared_export.h"
14 namespace ppapi {
16 struct PPAPI_SHARED_EXPORT URLResponseInfoData {
17 URLResponseInfoData();
18 ~URLResponseInfoData();
20 std::string url;
21 std::string headers;
22 int32_t status_code;
23 std::string status_text;
24 std::string redirect_url;
26 // Valid when streaming to a file.
27 FileRefCreateInfo body_as_file_ref;
30 } // namespace ppapi
32 #endif // PPAPI_SHARED_IMPL_URL_RESPONSE_INFO_DATA_H_