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

Unified Diff: experimental/visual_studio_plugin/src/MsAd7.BaseImpl/CodeContext.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/MsAd7.BaseImpl/CodeContext.cs
diff --git a/experimental/visual_studio_plugin/src/MsAd7.BaseImpl/CodeContext.cs b/experimental/visual_studio_plugin/src/MsAd7.BaseImpl/CodeContext.cs
deleted file mode 100644
index 07eded251265cf51e8c077c776956611d271af58..0000000000000000000000000000000000000000
--- a/experimental/visual_studio_plugin/src/MsAd7.BaseImpl/CodeContext.cs
+++ /dev/null
@@ -1,48 +0,0 @@
-// Copyright 2009 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.
-using System;
-using System.Diagnostics;
-using Microsoft.VisualStudio;
-using Microsoft.VisualStudio.Debugger.Interop;
-
-namespace Google.MsAd7.BaseImpl {
- public class CodeContext : MemoryContext, IDebugCodeContext2 {
- public CodeContext(string name,
- ulong address,
- ulong count,
- DocumentContext docContext)
- : base(name, address, count) {
- docContext_ = docContext;
- if (docContext_ != null) {
- docContext_.AddCodeContext(this);
- }
- }
-
- public static readonly CodeContext NullContext =
- new CodeContext("<No symbols available>", 0, 0, null);
-
- #region Implementation of IDebugCodeContext2
-
- public int GetDocumentContext(out IDebugDocumentContext2 ppSrcCxt) {
- Debug.WriteLine("CodeContext.GetDocumentContext");
-
- ppSrcCxt = docContext_;
- return VSConstants.S_OK;
- }
-
- public int GetLanguageInfo(ref string pbstrLanguage, ref Guid pguidLanguage) {
- Debug.WriteLine("CodeContext.GetLanguageInfo");
-
- return docContext_.GetLanguageInfo(ref pbstrLanguage, ref pguidLanguage);
- }
-
- #endregion
-
- #region Private Implementation
-
- private readonly DocumentContext docContext_;
-
- #endregion
- }
-}

Powered by Google App Engine
This is Rietveld 408576698