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

Unified Diff: experimental/c_salt/integration_tests/property_tester.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/property_tester.cc
diff --git a/experimental/c_salt/integration_tests/property_tester.cc b/experimental/c_salt/integration_tests/property_tester.cc
deleted file mode 100644
index 3889d528811fbfdeae41f42f8fe453e46277ccd5..0000000000000000000000000000000000000000
--- a/experimental/c_salt/integration_tests/property_tester.cc
+++ /dev/null
@@ -1,28 +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.
-
-#include "c_salt/integration_tests/property_tester.h"
-
-#include <cstdio>
-
-#include "c_salt/property.h"
-#include "c_salt/scripting_bridge.h"
-#include "c_salt/variant.h"
-#include "c_salt/variant_ptrs.h"
-
-void PropertyTester::InitializeMethods(c_salt::ScriptingBridge* bridge) {
- // No methods in this class.
-}
-
-void PropertyTester::InitializeProperties(c_salt::ScriptingBridge* bridge) {
- c_salt::SharedVariant value(new c_salt::Variant(static_cast<int32_t>(42)));
- c_salt::PropertyAttributes prop1("intProp", value);
- prop1.set_static().set_immutable();
- bridge->AddProperty(c_salt::Property(prop1));
-
- value.reset(new c_salt::Variant("A string."));
- c_salt::PropertyAttributes prop2("stringProp", value);
- prop2.set_mutable();
- bridge->AddProperty(c_salt::Property(prop2));
-}
« no previous file with comments | « experimental/c_salt/integration_tests/property_tester.h ('k') | experimental/c_salt/integration_tests/test_module.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698