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

Unified Diff: experimental/visual_studio_plugin/src/SymbolDBViewer/ScopeTransitionLoader.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/SymbolDBViewer/ScopeTransitionLoader.cs
diff --git a/experimental/visual_studio_plugin/src/SymbolDBViewer/ScopeTransitionLoader.cs b/experimental/visual_studio_plugin/src/SymbolDBViewer/ScopeTransitionLoader.cs
deleted file mode 100644
index 997298343808776f550d118065151c0e8582c246..0000000000000000000000000000000000000000
--- a/experimental/visual_studio_plugin/src/SymbolDBViewer/ScopeTransitionLoader.cs
+++ /dev/null
@@ -1,41 +0,0 @@
-// Copyright (c) 2011 The Native Client Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#region
-
-using System.Windows.Forms;
-using Google.NaClVsx.DebugSupport.DWARF;
-
-#endregion
-
-namespace SymbolDBViewer {
- /// <summary>
- /// Specializes the DictionaryLoader for loading the Scope Transitions.
- /// </summary>
- public class ScopeTransitionLoader
- : DIECapableLoader<SymbolDatabase.ScopeTransition> {
- protected override TreeNode GetTreeNode(ulong key,
- SymbolDatabase.ScopeTransition
- scopeTransition) {
- var scopeTransitionNode = new TreeNode();
- var keyString = GetString(key);
- scopeTransitionNode.Name = keyString;
- scopeTransitionNode.Text = @"Scope Transition: " + keyString;
- var valuesString = string.Format(
- "Values: Address: {0}",
- scopeTransition.Address);
- scopeTransitionNode.Nodes.Add("Values", valuesString);
- var dieNode = new TreeNode("DIE");
- if (scopeTransition.Entry != null) {
- var dieValueNode = GetDIEValuesNode(scopeTransition.Entry);
- var dieAttributesNode =
- GetDIEAttributesNode(scopeTransition.Entry.Attributes);
- dieNode.Nodes.Add(dieValueNode);
- dieNode.Nodes.Add(dieAttributesNode);
- }
- scopeTransitionNode.Nodes.Add(dieNode);
- return scopeTransitionNode;
- }
- }
-}

Powered by Google App Engine
This is Rietveld 408576698