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

Unified Diff: experimental/c_salt/module.h

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/c_salt/integration_tests/test_module.cc ('k') | experimental/c_salt/module.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: experimental/c_salt/module.h
diff --git a/experimental/c_salt/module.h b/experimental/c_salt/module.h
deleted file mode 100644
index fad4906da46202dfa59acdb43dc1480c475ec196..0000000000000000000000000000000000000000
--- a/experimental/c_salt/module.h
+++ /dev/null
@@ -1,52 +0,0 @@
-// Copyright 2010 The Ginsu 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 C_SALT_MODULE_H_
-#define C_SALT_MODULE_H_
-
-#include "boost/noncopyable.hpp"
-#include "c_salt/scripting_bridge.h"
-
-namespace c_salt {
-
-// The base class for a c_salt-based Native Client module. Pepper makes this
-// a global object, and it exists as long as the module code is loaded. This
-// class is repsonsible for creating Instances (see c_salt/instance.h).
-
-// TODO(dspringer): This becomes a subclass of pp::Module when Pepper v2
-// becomes available.
-class Instance;
-
-class Module : public boost::noncopyable {
- public:
- // The Module is a singleton.
- static Module& GetModuleSingleton();
- static void CleanUp();
-
- // Create and return an instance of the module. The subclass can create a
- // specific class instance.
- virtual Instance* CreateInstance(const NPP& npp_instance) = 0;
-
- // Initialize the OpenGL library for this module. The library termination
- // code is called in the dtor (via CleanUp()). If OpenGL has already been
- // initialized, this is a no-op.
- bool InitializeOpenGL();
-
- protected:
- Module();
- virtual ~Module();
-
- private:
- static Module* module_singleton_;
- bool is_opengl_initialized_;
-};
-
-// Implemented by the module. Creates the Module associated with this Native
-// Client module. This function is called once when the singleton Module gets
-// created.
-Module* CreateModule();
-
-} // namespace c_salt
-
-#endif // C_SALT_MODULE_H_
« no previous file with comments | « experimental/c_salt/integration_tests/test_module.cc ('k') | experimental/c_salt/module.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698