| Index: native_client_sdk/src/examples/demo/pi_generator/pi_generator_module.cc
|
| diff --git a/native_client_sdk/src/examples/demo/pi_generator/pi_generator_module.cc b/native_client_sdk/src/examples/demo/pi_generator/pi_generator_module.cc
|
| deleted file mode 100644
|
| index e5edebbbcad1987848c5d41d306c67c64c497816..0000000000000000000000000000000000000000
|
| --- a/native_client_sdk/src/examples/demo/pi_generator/pi_generator_module.cc
|
| +++ /dev/null
|
| @@ -1,32 +0,0 @@
|
| -// Copyright (c) 2012 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/cpp/module.h>
|
| -
|
| -#include "pi_generator.h"
|
| -
|
| -namespace pi_generator {
|
| -// The Module class. The browser calls the CreateInstance() method to create
|
| -// an instance of your NaCl module on the web page. The browser creates a new
|
| -// instance for each <embed> tag with type="application/x-nacl".
|
| -class PiGeneratorModule : public pp::Module {
|
| - public:
|
| - PiGeneratorModule() : pp::Module() {}
|
| - virtual ~PiGeneratorModule() {}
|
| -
|
| - // Create and return a PiGeneratorInstance object.
|
| - virtual pp::Instance* CreateInstance(PP_Instance instance) {
|
| - return new PiGenerator(instance);
|
| - }
|
| -};
|
| -} // namespace pi_generator
|
| -
|
| -// Factory function called by the browser when the module is first loaded.
|
| -// The browser keeps a singleton of this module. It calls the
|
| -// CreateInstance() method on the object you return to make instances. There
|
| -// is one instance per <embed> tag on the page. This is the main binding
|
| -// point for your NaCl module with the browser.
|
| -namespace pp {
|
| -Module* CreateModule() { return new pi_generator::PiGeneratorModule(); }
|
| -} // namespace pp
|
|
|