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

Unified Diff: ppapi/proxy/ppb_file_chooser_proxy.cc

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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ppapi/proxy/ppb_file_chooser_proxy.h ('k') | ppapi/proxy/ppb_file_ref_proxy.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/proxy/ppb_file_chooser_proxy.cc
diff --git a/ppapi/proxy/ppb_file_chooser_proxy.cc b/ppapi/proxy/ppb_file_chooser_proxy.cc
index 1e55af612c0b88eb796ffd258ca22232d43d0abc..734fb14390a7f72eb58a106a28e6ce57fbad2968 100644
--- a/ppapi/proxy/ppb_file_chooser_proxy.cc
+++ b/ppapi/proxy/ppb_file_chooser_proxy.cc
@@ -124,7 +124,7 @@ int32_t FileChooser::Show(bool require_user_gesture,
current_show_callback_ = callback;
PluginDispatcher::GetForResource(this)->Send(
new PpapiHostMsg_PPBFileChooser_Show(
- INTERFACE_ID_PPB_FILE_CHOOSER,
+ API_ID_PPB_FILE_CHOOSER,
host_resource(),
save_as,
suggested_file_name ? suggested_file_name : "",
@@ -173,7 +173,7 @@ const InterfaceProxy::Info* PPB_FileChooser_Proxy::GetTrustedInfo() {
static const Info info = {
thunk::GetPPB_FileChooser_Trusted_Thunk(),
PPB_FILECHOOSER_TRUSTED_INTERFACE,
- INTERFACE_ID_NONE, // FILE_CHOOSER is the canonical one.
+ API_ID_NONE, // FILE_CHOOSER is the canonical one.
false,
&CreateFileChooserProxy
};
@@ -191,7 +191,7 @@ PP_Resource PPB_FileChooser_Proxy::CreateProxyResource(
HostResource result;
dispatcher->Send(new PpapiHostMsg_PPBFileChooser_Create(
- INTERFACE_ID_PPB_FILE_CHOOSER, instance,
+ API_ID_PPB_FILE_CHOOSER, instance,
mode,
accept_mime_types ? accept_mime_types : "",
&result));
@@ -268,7 +268,7 @@ void PPB_FileChooser_Proxy::OnShowCallback(int32_t result,
std::vector<PPB_FileRef_CreateInfo> files;
if (enter.succeeded() && result == PP_OK) {
PPB_FileRef_Proxy* file_ref_proxy = static_cast<PPB_FileRef_Proxy*>(
- dispatcher()->GetInterfaceProxy(INTERFACE_ID_PPB_FILE_REF));
+ dispatcher()->GetInterfaceProxy(API_ID_PPB_FILE_REF));
// Convert the returned files to the serialized info.
while (PP_Resource cur_file_resource =
@@ -280,7 +280,7 @@ void PPB_FileChooser_Proxy::OnShowCallback(int32_t result,
}
dispatcher()->Send(new PpapiMsg_PPBFileChooser_ChooseComplete(
- INTERFACE_ID_PPB_FILE_CHOOSER, chooser, result, files));
+ API_ID_PPB_FILE_CHOOSER, chooser, result, files));
}
} // namespace proxy
« no previous file with comments | « ppapi/proxy/ppb_file_chooser_proxy.h ('k') | ppapi/proxy/ppb_file_ref_proxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698