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

Unified Diff: experimental/c_salt/integration_tests/test_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
Index: experimental/c_salt/integration_tests/test_module.h
diff --git a/experimental/c_salt/integration_tests/test_module.h b/experimental/c_salt/integration_tests/test_module.h
deleted file mode 100644
index b948e12bdb30b3ce83752d009b0256f468618afd..0000000000000000000000000000000000000000
--- a/experimental/c_salt/integration_tests/test_module.h
+++ /dev/null
@@ -1,29 +0,0 @@
-// Copyright (c) 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_INTEGRATION_TESTS_TEST_MODULE_H_
-#define C_SALT_INTEGRATION_TESTS_TEST_MODULE_H_
-
-#include <cstdio>
-
-#include "boost/shared_ptr.hpp"
-#include "c_salt/integration_tests/fake_instance.h"
-#include "c_salt/module.h"
-
-// This is the connection to the c_salt Module machinery. The Module singleton
-// calls CreateInstance to make new copies of each in-browser instance of
-// FakeInstance.
-class TestModule : public c_salt::Module {
- public:
- virtual c_salt::Instance* CreateInstance(const NPP& npp_instance) {
- std::printf("Creating instance %p\n", npp_instance);
- boost::shared_ptr<FakeInstance> instance_ptr(
- new FakeInstance(npp_instance));
- // The ScriptingBridge takes ownership of FakeInstance via the shared_ptr.
- instance_ptr->CreateScriptingBridgeForObject(instance_ptr);
- return instance_ptr.get();
- }
-};
-
-#endif // C_SALT_INTEGRATION_TESTS_TEST_MODULE_H_
« no previous file with comments | « experimental/c_salt/integration_tests/property_tester.cc ('k') | experimental/c_salt/integration_tests/test_module.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698