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

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

Issue 10168026: Delete FunctionGroupBase from Pepper. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 8 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
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 #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 16 matching lines...) Expand all
27 #include "ppapi/shared_impl/tracked_callback.h" 27 #include "ppapi/shared_impl/tracked_callback.h"
28 #include "ppapi/thunk/enter.h" 28 #include "ppapi/thunk/enter.h"
29 #include "ppapi/thunk/ppb_url_loader_api.h" 29 #include "ppapi/thunk/ppb_url_loader_api.h"
30 #include "ppapi/thunk/resource_creation_api.h" 30 #include "ppapi/thunk/resource_creation_api.h"
31 #include "ppapi/thunk/thunk.h" 31 #include "ppapi/thunk/thunk.h"
32 32
33 #if defined(OS_LINUX) 33 #if defined(OS_LINUX)
34 #include <sys/shm.h> 34 #include <sys/shm.h>
35 #endif 35 #endif
36 36
37 using ppapi::thunk::EnterFunctionNoLock;
38 using ppapi::thunk::EnterResourceNoLock; 37 using ppapi::thunk::EnterResourceNoLock;
39 using ppapi::thunk::PPB_URLLoader_API; 38 using ppapi::thunk::PPB_URLLoader_API;
40 using ppapi::thunk::ResourceCreationAPI; 39 using ppapi::thunk::ResourceCreationAPI;
41 40
42 namespace ppapi { 41 namespace ppapi {
43 namespace proxy { 42 namespace proxy {
44 43
45 namespace { 44 namespace {
46 45
47 // The maximum size we'll read into the plugin without being explicitly 46 // The maximum size we'll read into the plugin without being explicitly
(...skipping 550 matching lines...) Expand 10 before | Expand all | Expand 10 after
598 } 597 }
599 598
600 void PPB_URLLoader_Proxy::OnCallback(int32_t result, 599 void PPB_URLLoader_Proxy::OnCallback(int32_t result,
601 const HostResource& resource) { 600 const HostResource& resource) {
602 dispatcher()->Send(new PpapiMsg_PPBURLLoader_CallbackComplete( 601 dispatcher()->Send(new PpapiMsg_PPBURLLoader_CallbackComplete(
603 API_ID_PPB_URL_LOADER, resource, result)); 602 API_ID_PPB_URL_LOADER, resource, result));
604 } 603 }
605 604
606 } // namespace proxy 605 } // namespace proxy
607 } // namespace ppapi 606 } // namespace ppapi
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698