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

Side by Side Diff: tests/fake_browser_ppapi/fake_url_request_info.cc

Issue 5631003: ppapi_proxy: Make DebugPrintf more usable.... (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client/
Patch Set: '' Created 10 years 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
OLDNEW
1 /* 1 /*
2 * Copyright 2010 The Native Client Authors. All rights reserved. 2 * Copyright 2010 The Native Client Authors. All rights reserved.
3 * Use of this source code is governed by a BSD-style license that can 3 * Use of this source code is governed by a BSD-style license that can
4 * be found in the LICENSE file. 4 * be found in the LICENSE file.
5 */ 5 */
6 6
7 #include "native_client/tests/fake_browser_ppapi/fake_url_request_info.h" 7 #include "native_client/tests/fake_browser_ppapi/fake_url_request_info.h"
8 8
9 #include <string> 9 #include <string>
10 10
11 #include "native_client/src/include/nacl_macros.h" 11 #include "native_client/src/include/nacl_macros.h"
12 #include "native_client/src/include/portability.h" 12 #include "native_client/src/include/portability.h"
13 #include "native_client/src/shared/ppapi_proxy/plugin_var.h" 13 #include "native_client/src/shared/ppapi_proxy/plugin_var.h"
14 #include "native_client/src/shared/ppapi_proxy/utility.h"
15 14
16 #include "native_client/tests/fake_browser_ppapi/fake_resource.h" 15 #include "native_client/tests/fake_browser_ppapi/fake_resource.h"
16 #include "native_client/tests/fake_browser_ppapi/utility.h"
17 17
18 #include "ppapi/c/pp_completion_callback.h" 18 #include "ppapi/c/pp_completion_callback.h"
19 #include "ppapi/c/pp_resource.h" 19 #include "ppapi/c/pp_resource.h"
20 #include "ppapi/c/pp_var.h" 20 #include "ppapi/c/pp_var.h"
21 21
22 using ppapi_proxy::PluginVar; 22 using ppapi_proxy::PluginVar;
23 using ppapi_proxy::DebugPrintf; 23 using fake_browser_ppapi::DebugPrintf;
24 24
25 namespace fake_browser_ppapi { 25 namespace fake_browser_ppapi {
26 26
27 namespace { 27 namespace {
28 28
29 PP_Resource Create(PP_Module module_id) { 29 PP_Resource Create(PP_Module module_id) {
30 DebugPrintf("URLRequestInfo::Create: module_id=%"NACL_PRId64"\n", module_id); 30 DebugPrintf("URLRequestInfo::Create: module_id=%"NACL_PRId64"\n", module_id);
31 URLRequestInfo* request = new URLRequestInfo(module_id); 31 URLRequestInfo* request = new URLRequestInfo(module_id);
32 PP_Resource resource_id = TrackResource(request); 32 PP_Resource resource_id = TrackResource(request);
33 DebugPrintf("URLRequestInfo::Create: resource_id=%"NACL_PRId64"\n", 33 DebugPrintf("URLRequestInfo::Create: resource_id=%"NACL_PRId64"\n",
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
130 Create, 130 Create,
131 IsURLRequestInfo, 131 IsURLRequestInfo,
132 SetProperty, 132 SetProperty,
133 AppendDataToBody, 133 AppendDataToBody,
134 AppendFileToBody 134 AppendFileToBody
135 }; 135 };
136 return &url_request_info_interface; 136 return &url_request_info_interface;
137 } 137 }
138 138
139 } // namespace fake_browser_ppapi 139 } // namespace fake_browser_ppapi
OLDNEW
« no previous file with comments | « tests/fake_browser_ppapi/fake_url_loader.cc ('k') | tests/fake_browser_ppapi/fake_url_response_info.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698