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

Side by Side Diff: ppapi/native_client/tests/ppapi_geturl/url_load_request.h

Issue 10545062: NaCl: Fix a file to compile with -Wundef (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Copyright Created 8 years, 6 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 | « no previous file | no next file » | 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) 2011 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 #ifndef TESTS_PPAPI_GETURL_URL_LOAD_REQUEST_H_ 4 #ifndef TESTS_PPAPI_GETURL_URL_LOAD_REQUEST_H_
5 #define TESTS_PPAPI_GETURL_URL_LOAD_REQUEST_H_ 5 #define TESTS_PPAPI_GETURL_URL_LOAD_REQUEST_H_
6 6
7 #include <string> 7 #include <string>
8 #include <vector> 8 #include <vector>
9 9
10 #include "ppapi/c/ppb_file_io.h" 10 #include "ppapi/c/ppb_file_io.h"
11 #include "ppapi/c/ppb_file_ref.h" 11 #include "ppapi/c/ppb_file_ref.h"
12 #include "ppapi/c/ppb_url_loader.h" 12 #include "ppapi/c/ppb_url_loader.h"
13 #include "ppapi/c/ppb_url_request_info.h" 13 #include "ppapi/c/ppb_url_request_info.h"
14 #include "ppapi/c/ppb_url_response_info.h" 14 #include "ppapi/c/ppb_url_response_info.h"
15 #include "ppapi/c/pp_instance.h" 15 #include "ppapi/c/pp_instance.h"
16 #include "ppapi/c/pp_resource.h" 16 #include "ppapi/c/pp_resource.h"
17 #include "ppapi/c/pp_stdint.h" 17 #include "ppapi/c/pp_stdint.h"
18 #if __native_client__ 18 #if defined(__native_client__)
19 // TODO(polina): add file_io_nacl include 19 // TODO(polina): add file_io_nacl include
20 #else 20 #else
21 #include "ppapi/c/trusted/ppb_file_io_trusted.h" 21 #include "ppapi/c/trusted/ppb_file_io_trusted.h"
22 #endif 22 #endif
23 23
24 24
25 class UrlLoadRequest { 25 class UrlLoadRequest {
26 public: 26 public:
27 explicit UrlLoadRequest(PP_Instance instance); 27 explicit UrlLoadRequest(PP_Instance instance);
28 ~UrlLoadRequest(); 28 ~UrlLoadRequest();
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 const PPB_URLResponseInfo* response_interface_; 70 const PPB_URLResponseInfo* response_interface_;
71 const PPB_URLLoader* loader_interface_; 71 const PPB_URLLoader* loader_interface_;
72 const PPB_FileIO* fileio_interface_; 72 const PPB_FileIO* fileio_interface_;
73 73
74 char buffer_[1024]; 74 char buffer_[1024];
75 std::string url_body_; 75 std::string url_body_;
76 int32_t read_offset_; 76 int32_t read_offset_;
77 }; 77 };
78 78
79 #endif // TESTS_PPAPI_GETURL_URL_LOAD_REQUEST_H_ 79 #endif // TESTS_PPAPI_GETURL_URL_LOAD_REQUEST_H_
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698