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

Unified Diff: experimental/flocking_geese/nacl_app/flocking_geese_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
Index: experimental/flocking_geese/nacl_app/flocking_geese_module.cc
diff --git a/experimental/flocking_geese/nacl_app/flocking_geese_module.cc b/experimental/flocking_geese/nacl_app/flocking_geese_module.cc
deleted file mode 100644
index 17b16d3ea4b7c1b0c881787afac45f3c7fa99290..0000000000000000000000000000000000000000
--- a/experimental/flocking_geese/nacl_app/flocking_geese_module.cc
+++ /dev/null
@@ -1,35 +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 "nacl_app/flocking_geese_app.h"
-#include "ppapi/cpp/module.h"
-
-namespace flocking_geese {
-// 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 FlockingGeeseModule : public pp::Module {
- public:
- FlockingGeeseModule() : pp::Module() {}
- virtual ~FlockingGeeseModule() {}
-
- /// Create and return a FlockingGeeseInstance object.
- /// @param[in] instance The browser-side instance.
- /// @return the plugin-side instance.
- virtual pp::Instance* CreateInstance(PP_Instance instance) {
- return new FlockingGeeseApp(instance);
- }
-};
-} // namespace flocking_geese
-
-namespace pp {
-/// 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.
-Module* CreateModule() {
- return new flocking_geese::FlockingGeeseModule();
-}
-} // namespace pp
« no previous file with comments | « experimental/flocking_geese/nacl_app/flocking_geese_app.cc ('k') | experimental/flocking_geese/nacl_app/frame_counter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698