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

Side by Side Diff: ppapi/proxy/ppb_url_loader_proxy.cc

Issue 7623018: Move host resource from the proxy to the shared_impl. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Comments addressed Created 9 years, 4 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/proxy/ppb_url_loader_proxy.h ('k') | ppapi/proxy/ppb_url_request_info_proxy.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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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/ppb_url_loader_proxy.h" 5 #include "ppapi/proxy/ppb_url_loader_proxy.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <deque> 8 #include <deque>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 14 matching lines...) Expand all
25 #include "ppapi/proxy/ppb_url_response_info_proxy.h" 25 #include "ppapi/proxy/ppb_url_response_info_proxy.h"
26 #include "ppapi/thunk/enter.h" 26 #include "ppapi/thunk/enter.h"
27 #include "ppapi/thunk/ppb_url_loader_api.h" 27 #include "ppapi/thunk/ppb_url_loader_api.h"
28 #include "ppapi/thunk/resource_creation_api.h" 28 #include "ppapi/thunk/resource_creation_api.h"
29 #include "ppapi/thunk/thunk.h" 29 #include "ppapi/thunk/thunk.h"
30 30
31 #if defined(OS_LINUX) 31 #if defined(OS_LINUX)
32 #include <sys/shm.h> 32 #include <sys/shm.h>
33 #endif 33 #endif
34 34
35 using ppapi::HostResource;
35 using ppapi::thunk::EnterFunctionNoLock; 36 using ppapi::thunk::EnterFunctionNoLock;
36 using ppapi::thunk::EnterResourceNoLock; 37 using ppapi::thunk::EnterResourceNoLock;
37 using ppapi::thunk::PPB_URLLoader_API; 38 using ppapi::thunk::PPB_URLLoader_API;
38 using ppapi::thunk::ResourceCreationAPI; 39 using ppapi::thunk::ResourceCreationAPI;
39 40
40 namespace pp { 41 namespace pp {
41 namespace proxy { 42 namespace proxy {
42 43
43 namespace { 44 namespace {
44 45
(...skipping 532 matching lines...) Expand 10 before | Expand all | Expand 10 after
577 info->read_buffer.resize(bytes_read); 578 info->read_buffer.resize(bytes_read);
578 579
579 dispatcher()->Send(new PpapiMsg_PPBURLLoader_ReadResponseBody_Ack( 580 dispatcher()->Send(new PpapiMsg_PPBURLLoader_ReadResponseBody_Ack(
580 INTERFACE_ID_PPB_URL_LOADER, info->resource, result, info->read_buffer)); 581 INTERFACE_ID_PPB_URL_LOADER, info->resource, result, info->read_buffer));
581 582
582 delete info; 583 delete info;
583 } 584 }
584 585
585 } // namespace proxy 586 } // namespace proxy
586 } // namespace pp 587 } // namespace pp
OLDNEW
« no previous file with comments | « ppapi/proxy/ppb_url_loader_proxy.h ('k') | ppapi/proxy/ppb_url_request_info_proxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698