Chromium Code Reviews| Index: ppapi/cpp/private/internal_module.h |
| diff --git a/ppapi/cpp/private/internal_module.h b/ppapi/cpp/private/internal_module.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..5603d06d4c1d4d613b7a6a87a5c5a707df4c76b8 |
| --- /dev/null |
| +++ b/ppapi/cpp/private/internal_module.h |
| @@ -0,0 +1,16 @@ |
| +// Copyright (c) 2014 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_CPP_INTERNAL_MODULE_H_ |
|
Mark Seaborn
2014/07/28 20:28:37
nit: missing "PRIVATE"
teravest
2014/07/28 22:04:22
Done.
|
| +#define PPAPI_CPP_INTERNAL_MODULE_H_ |
| + |
| +namespace pp { |
| +class Module; |
| + |
| +// Forcibly sets the value returned by pp::Module::Get(). Do not call this |
| +// function except to support the trusted plugin or the remoting plugin! |
| +void InternalSetModuleSingleton(Module* module); |
| +} |
| + |
| +#endif // PPAPI_CPP_INTERNAL_MODULE_H_ |