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

Unified Diff: experimental/conways_life/life_module.cc

Issue 10928195: First round of dead file removal (Closed) Base URL: https://github.com/samclegg/nativeclient-sdk.git@master
Patch Set: Created 8 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 | « experimental/conways_life/life_application.cc ('k') | experimental/conways_life/locking_image_data.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: experimental/conways_life/life_module.cc
diff --git a/experimental/conways_life/life_module.cc b/experimental/conways_life/life_module.cc
deleted file mode 100644
index b52115c5658fa88a3641e985855ab5a41a334e58..0000000000000000000000000000000000000000
--- a/experimental/conways_life/life_module.cc
+++ /dev/null
@@ -1,34 +0,0 @@
-// Copyright (c) 2011 The Native Client 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 "experimental/conways_life/life_application.h"
-#include "ppapi/cpp/module.h"
-
-namespace life {
-// The Module class. The browser calls the CreateInstance() method to create
-// an instance of you NaCl module on the web page. The browser creates a new
-// instance for each <embed> tag with type="application/x-nacl".
-class LifeModule : public pp::Module {
- public:
- LifeModule() : pp::Module() {}
- virtual ~LifeModule() {}
-
- // Create and return a Life instance object.
- virtual pp::Instance* CreateInstance(PP_Instance instance) {
- return new LifeApplication(instance);
- }
-};
-} // namespace life
-
-// 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 life::LifeModule();
-}
-} // namespace pp
-
« no previous file with comments | « experimental/conways_life/life_application.cc ('k') | experimental/conways_life/locking_image_data.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698