summaryrefslogtreecommitdiffstats
path: root/ppapi/proxy/ppb_crypto_proxy.h
blob: 8e343a8e2e2cb56337ff5691f5ba4f62cef965c7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
// 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.

#ifndef PPAPI_PROXY_PPB_CRYPTO_PROXY_H_
#define PPAPI_PROXY_PPB_CRYPTO_PROXY_H_

#include "ppapi/proxy/interface_proxy.h"

namespace ppapi {
namespace proxy {

class PPB_Crypto_Proxy : public InterfaceProxy {
 public:
  // This class should not normally be instantiated since there's only one
  // function that's implemented entirely within the plugin. However, we need
  // to support this so the machinery for automatically handling interfaces
  // works. As a result, this constructor will assert if it's actually used.
  PPB_Crypto_Proxy(Dispatcher* dispatcher);
  virtual ~PPB_Crypto_Proxy();

  static const Info* GetInfo();

 private:
  virtual bool OnMessageReceived(const IPC::Message& msg);

  DISALLOW_COPY_AND_ASSIGN(PPB_Crypto_Proxy);
};

}  // namespace proxy
}  // namespace ppapi

#endif  // PPAPI_PROXY_PPB_CRYPTO_PROXY_H_