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

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

Issue 8333004: Rename InterfaceID to ApiID and move the file. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merged Created 9 years, 2 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_text_input_proxy.cc ('k') | ppapi/proxy/ppb_url_loader_proxy.cc » ('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 #ifndef PPAPI_PPB_URL_LOADER_PROXY_H_ 5 #ifndef PPAPI_PPB_URL_LOADER_PROXY_H_
6 #define PPAPI_PPB_URL_LOADER_PROXY_H_ 6 #define PPAPI_PPB_URL_LOADER_PROXY_H_
7 7
8 #include "ppapi/c/pp_completion_callback.h" 8 #include "ppapi/c/pp_completion_callback.h"
9 #include "ppapi/c/pp_instance.h" 9 #include "ppapi/c/pp_instance.h"
10 #include "ppapi/c/pp_module.h" 10 #include "ppapi/c/pp_module.h"
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 45
46 // InterfaceProxy implementation. 46 // InterfaceProxy implementation.
47 virtual bool OnMessageReceived(const IPC::Message& msg); 47 virtual bool OnMessageReceived(const IPC::Message& msg);
48 48
49 // URLLoader objects are sent from places other than just URLLoader.Create, 49 // URLLoader objects are sent from places other than just URLLoader.Create,
50 // in particular when doing a full-frame plugin. This function does the 50 // in particular when doing a full-frame plugin. This function does the
51 // necessary setup in the host before the resource is sent. Call this any 51 // necessary setup in the host before the resource is sent. Call this any
52 // time you're sending a new URLLoader that the plugin hasn't seen yet. 52 // time you're sending a new URLLoader that the plugin hasn't seen yet.
53 void PrepareURLLoaderForSendingToPlugin(PP_Resource resource); 53 void PrepareURLLoaderForSendingToPlugin(PP_Resource resource);
54 54
55 static const InterfaceID kInterfaceID = INTERFACE_ID_PPB_URL_LOADER; 55 static const ApiID kApiID = API_ID_PPB_URL_LOADER;
56 56
57 private: 57 private:
58 // Data associated with callbacks for ReadResponseBody. 58 // Data associated with callbacks for ReadResponseBody.
59 struct ReadCallbackInfo; 59 struct ReadCallbackInfo;
60 60
61 // Plugin->renderer message handlers. 61 // Plugin->renderer message handlers.
62 void OnMsgCreate(PP_Instance instance, 62 void OnMsgCreate(PP_Instance instance,
63 ppapi::HostResource* result); 63 ppapi::HostResource* result);
64 void OnMsgOpen(const ppapi::HostResource& loader, 64 void OnMsgOpen(const ppapi::HostResource& loader,
65 const PPB_URLRequestInfo_Data& data, 65 const PPB_URLRequestInfo_Data& data,
(...skipping 25 matching lines...) Expand all
91 91
92 // Valid only in the host, this lazily-initialized pointer indicates the 92 // Valid only in the host, this lazily-initialized pointer indicates the
93 // URLLoaderTrusted interface. 93 // URLLoaderTrusted interface.
94 const PPB_URLLoaderTrusted* host_urlloader_trusted_interface_; 94 const PPB_URLLoaderTrusted* host_urlloader_trusted_interface_;
95 }; 95 };
96 96
97 } // namespace proxy 97 } // namespace proxy
98 } // namespace ppapi 98 } // namespace ppapi
99 99
100 #endif // PPAPI_PPB_URL_LOADER_PROXY_H_ 100 #endif // PPAPI_PPB_URL_LOADER_PROXY_H_
OLDNEW
« no previous file with comments | « ppapi/proxy/ppb_text_input_proxy.cc ('k') | ppapi/proxy/ppb_url_loader_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698