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

Unified Diff: experimental/visual_studio_plugin/src/NaClVsx.Package/ProjectSupport/NaClConfigProvider.cs

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/visual_studio_plugin/src/NaClVsx.Package/ProjectSupport/NaClConfigProvider.cs
diff --git a/experimental/visual_studio_plugin/src/NaClVsx.Package/ProjectSupport/NaClConfigProvider.cs b/experimental/visual_studio_plugin/src/NaClVsx.Package/ProjectSupport/NaClConfigProvider.cs
deleted file mode 100644
index e1bf1aecea714497d4b0a0a082f6a12434593dc9..0000000000000000000000000000000000000000
--- a/experimental/visual_studio_plugin/src/NaClVsx.Package/ProjectSupport/NaClConfigProvider.cs
+++ /dev/null
@@ -1,47 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.Diagnostics;
-using System.Linq;
-using System.Text;
-using Microsoft.VisualStudio;
-using Microsoft.VisualStudio.Project;
-
-namespace Google.NaClVsx.ProjectSupport {
- class NaClConfigProvider : ConfigProvider {
-
- public static readonly string[] kPlatforms = {
- "NaCl",
- };
-
- public NaClConfigProvider(ProjectNode manager) : base(manager) {}
-
- public override int GetPlatformNames(uint celt,
- string[] names,
- uint[] actual) {
- /* From MSDN:
- * Typically two calls are made to GetPlatformNames.
- * With the first call, celt is set to zero, rgbstr
- * to nullNothingnullptra null reference (Nothing in
- * Visual Basic), and pcActual to a valid address.
- * GetPlatformNames returns with pcActual pointing to
- * the number of platform names available. The caller
- * uses this information to allocate rgbstr to the
- * appropriate size and call GetPlatformNames a second
- * time with celt set to the contents of pcActual.
- */
- if (celt == 0) {
- actual[0] = (uint)kPlatforms.Length;
- } else {
- Debug.Assert(celt <= kPlatforms.Length);
- kPlatforms.CopyTo(names,0);
- actual[0] = (uint)kPlatforms.Length;
- }
- return VSConstants.S_OK;
- }
-
- protected override ProjectConfig CreateProjectConfiguration(string configName)
- {
- return new NaClProjectConfig(this.ProjectMgr, configName);
- }
- }
-}

Powered by Google App Engine
This is Rietveld 408576698