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

Unified Diff: experimental/visual_studio_plugin/src/SymbolDBViewer/SourceLocationLoader.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/SourceLocationLoader.cs
diff --git a/experimental/visual_studio_plugin/src/SymbolDBViewer/SourceLocationLoader.cs b/experimental/visual_studio_plugin/src/SymbolDBViewer/SourceLocationLoader.cs
deleted file mode 100644
index fd141d99a718b9d25d91e44ee1f2696f6b41e9e9..0000000000000000000000000000000000000000
--- a/experimental/visual_studio_plugin/src/SymbolDBViewer/SourceLocationLoader.cs
+++ /dev/null
@@ -1,36 +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 Source Locations.
- /// </summary>
- public class SourceLocationLoader
- : DictionaryLoader<SymbolDatabase.SourceLocation> {
- protected override TreeNode GetTreeNode(ulong key,
- SymbolDatabase.SourceLocation
- location) {
- var locationNode = new TreeNode();
- var keyString = GetString(key);
- locationNode.Name = keyString;
- locationNode.Text = @"Location: " + keyString;
- var valuesString = string.Format(
- "Values: Address: {0} SourceFile: {1} Line: {2} Column: {3} Length: {4}",
- location.StartAddress,
- location.SourceFileKey,
- location.Line,
- location.Column,
- location.Length);
- locationNode.Nodes.Add("Values", valuesString);
- return locationNode;
- }
- }
-}

Powered by Google App Engine
This is Rietveld 408576698