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

Unified Diff: ppapi/proxy/ppb_flash_clipboard_proxy.cc

Issue 8359010: Convert the Flash interfaces to no longer use GetInfo. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Review comment 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_flash_clipboard_proxy.h ('k') | ppapi/proxy/ppb_flash_file_proxy.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/proxy/ppb_flash_clipboard_proxy.cc
diff --git a/ppapi/proxy/ppb_flash_clipboard_proxy.cc b/ppapi/proxy/ppb_flash_clipboard_proxy.cc
index 54772801ade92d8255d92746a65deb349765b698..e37aff2e5cfcb5a27bba6c22b53902359b9d1c5b 100644
--- a/ppapi/proxy/ppb_flash_clipboard_proxy.cc
+++ b/ppapi/proxy/ppb_flash_clipboard_proxy.cc
@@ -107,15 +107,8 @@ PPB_Flash_Clipboard_Proxy::~PPB_Flash_Clipboard_Proxy() {
}
// static
-const InterfaceProxy::Info* PPB_Flash_Clipboard_Proxy::GetInfo() {
- static const Info info = {
- &flash_clipboard_interface,
- PPB_FLASH_CLIPBOARD_INTERFACE,
- API_ID_PPB_FLASH_CLIPBOARD,
- false,
- &CreateFlashClipboardProxy
- };
- return &info;
+const PPB_Flash_Clipboard* PPB_Flash_Clipboard_Proxy::GetInterface() {
+ return &flash_clipboard_interface;
}
bool PPB_Flash_Clipboard_Proxy::OnMessageReceived(const IPC::Message& msg) {
« no previous file with comments | « ppapi/proxy/ppb_flash_clipboard_proxy.h ('k') | ppapi/proxy/ppb_flash_file_proxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698