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

Unified Diff: ppapi/proxy/ppb_audio_config_proxy.cc

Issue 7740038: Use macros to define pepper interfaces (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: New patch Created 9 years, 3 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_audio_config_proxy.h ('k') | ppapi/proxy/ppb_audio_proxy.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/proxy/ppb_audio_config_proxy.cc
diff --git a/ppapi/proxy/ppb_audio_config_proxy.cc b/ppapi/proxy/ppb_audio_config_proxy.cc
deleted file mode 100644
index d578fd529b4bc49ff17090bc97a98fc93735e0a5..0000000000000000000000000000000000000000
--- a/ppapi/proxy/ppb_audio_config_proxy.cc
+++ /dev/null
@@ -1,52 +0,0 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#include "ppapi/proxy/ppb_audio_config_proxy.h"
-
-#include "ppapi/c/ppb_audio_config.h"
-#include "ppapi/proxy/plugin_dispatcher.h"
-#include "ppapi/proxy/ppapi_messages.h"
-#include "ppapi/shared_impl/audio_config_impl.h"
-#include "ppapi/thunk/thunk.h"
-
-namespace ppapi {
-namespace proxy {
-
-namespace {
-
-InterfaceProxy* CreateAudioConfigProxy(Dispatcher* dispatcher,
- const void* target_interface) {
- return new PPB_AudioConfig_Proxy(dispatcher, target_interface);
-}
-
-} // namespace
-
-PPB_AudioConfig_Proxy::PPB_AudioConfig_Proxy(Dispatcher* dispatcher,
- const void* target_interface)
- : InterfaceProxy(dispatcher, target_interface) {
-}
-
-PPB_AudioConfig_Proxy::~PPB_AudioConfig_Proxy() {
-}
-
-// static
-const InterfaceProxy::Info* PPB_AudioConfig_Proxy::GetInfo() {
- static const Info info = {
- thunk::GetPPB_AudioConfig_Thunk(),
- PPB_AUDIO_CONFIG_INTERFACE,
- INTERFACE_ID_PPB_AUDIO_CONFIG,
- false,
- &CreateAudioConfigProxy,
- };
- return &info;
-}
-
-bool PPB_AudioConfig_Proxy::OnMessageReceived(const IPC::Message& msg) {
- // There are no IPC messages for this interface.
- NOTREACHED();
- return false;
-}
-
-} // namespace proxy
-} // namespace ppapi
« no previous file with comments | « ppapi/proxy/ppb_audio_config_proxy.h ('k') | ppapi/proxy/ppb_audio_proxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698