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

Side by Side Diff: ppapi/shared_impl/url_response_info_data.h

Issue 21966004: Pepper: Move FileRef to the "new" resource proxy. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Another rebase Created 7 years, 3 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
« no previous file with comments | « ppapi/shared_impl/url_request_info_data.cc ('k') | ppapi/thunk/interfaces_ppb_private.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 #ifndef PPAPI_SHARED_IMPL_URL_RESPONSE_INFO_DATA_H_ 5 #ifndef PPAPI_SHARED_IMPL_URL_RESPONSE_INFO_DATA_H_
6 #define PPAPI_SHARED_IMPL_URL_RESPONSE_INFO_DATA_H_ 6 #define PPAPI_SHARED_IMPL_URL_RESPONSE_INFO_DATA_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "ppapi/c/pp_stdint.h" 10 #include "ppapi/c/pp_stdint.h"
11 #include "ppapi/shared_impl/ppb_file_ref_shared.h" 11 #include "ppapi/shared_impl/file_ref_create_info.h"
12 #include "ppapi/shared_impl/ppapi_shared_export.h" 12 #include "ppapi/shared_impl/ppapi_shared_export.h"
13 13
14 namespace ppapi { 14 namespace ppapi {
15 15
16 struct PPAPI_SHARED_EXPORT URLResponseInfoData { 16 struct PPAPI_SHARED_EXPORT URLResponseInfoData {
17 URLResponseInfoData(); 17 URLResponseInfoData();
18 ~URLResponseInfoData(); 18 ~URLResponseInfoData();
19 19
20 std::string url; 20 std::string url;
21 std::string headers; 21 std::string headers;
22 int32_t status_code; 22 int32_t status_code;
23 std::string status_text; 23 std::string status_text;
24 std::string redirect_url; 24 std::string redirect_url;
25 25
26 // Nonzero when streaming to a file. 26 // Valid when streaming to a file.
27 PPB_FileRef_CreateInfo body_as_file_ref; 27 FileRefCreateInfo body_as_file_ref;
28 }; 28 };
29 29
30 } // namespace ppapi 30 } // namespace ppapi
31 31
32 #endif // PPAPI_SHARED_IMPL_URL_RESPONSE_INFO_DATA_H_ 32 #endif // PPAPI_SHARED_IMPL_URL_RESPONSE_INFO_DATA_H_
OLDNEW
« no previous file with comments | « ppapi/shared_impl/url_request_info_data.cc ('k') | ppapi/thunk/interfaces_ppb_private.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698