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

Unified Diff: experimental/c_salt/integration_tests/fake_instance.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/c_salt/integration_tests/fake_instance.cc
diff --git a/experimental/c_salt/integration_tests/fake_instance.cc b/experimental/c_salt/integration_tests/fake_instance.cc
deleted file mode 100644
index 4327087115d107f6438b911665ebc358e0e9a1bf..0000000000000000000000000000000000000000
--- a/experimental/c_salt/integration_tests/fake_instance.cc
+++ /dev/null
@@ -1,37 +0,0 @@
-// Copyright (c) 2010 The FakeInstance Project 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 "c_salt/integration_tests/fake_instance.h"
-
-FakeInstance::FakeInstance(const NPP& npp_instance)
- : c_salt::Instance(npp_instance),
- method_tester_(new MethodTester()),
- property_tester_(new PropertyTester()) {
- this->CreateScriptingBridgeForObject(method_tester_);
- this->CreateScriptingBridgeForObject(property_tester_);
-}
-
-FakeInstance::~FakeInstance() {
-}
-
-void FakeInstance::InitializeMethods(c_salt::ScriptingBridge* bridge) {
- bridge->AddMethodNamed("getMethodTester",
- this,
- &FakeInstance::GetMethodTester);
- bridge->AddMethodNamed("getPropertyTester",
- this,
- &FakeInstance::GetPropertyTester);
-}
-
-void FakeInstance::InitializeProperties(c_salt::ScriptingBridge* bridge) {
- // No properties (yet)
-}
-
-boost::shared_ptr<MethodTester> FakeInstance::GetMethodTester() {
- return method_tester_;
-}
-
-boost::shared_ptr<PropertyTester> FakeInstance::GetPropertyTester() {
- return property_tester_;
-}
« no previous file with comments | « experimental/c_salt/integration_tests/fake_instance.h ('k') | experimental/c_salt/integration_tests/method_tester.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698