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

Side by Side Diff: experimental/visual_studio_plugin/src/NaClVsx.Package/DebugSupport/NaClDebugProcess.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 unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2009 The Native Client Authors. All rights reserved.
2 //
3 // Use of this source code is governed by a BSD-style license that can
4 //
5 // be found in the LICENSE file.
6 using System;
7 using System.Collections.Generic;
8 using Google.MsAd7.BaseImpl;
9 using Microsoft.VisualStudio.Debugger.Interop;
10
11 namespace Google.NaClVsx.DebugSupport {
12 public class NaClDebugProcess : DebugProcess {
13 public NaClDebugProcess(IDebugPort2 port, string connectionString, int pid, string imagePath)
14 : base(port, pid, imagePath) {
15 connectionString_ = connectionString;
16 }
17
18 public NaClPort NaClPort {
19 get { return (DebugSupport.NaClPort) this.Port;}
20 }
21
22 #region Overrides of DebugProcess
23
24 public override enum_PROCESS_INFO_FLAGS GetProcessStatus() {
25 return enum_PROCESS_INFO_FLAGS.PIFLAG_PROCESS_RUNNING;
26 }
27
28 protected override ICollection<IDebugProgram2> GetPrograms() {
29 Refresh();
30 return programs_;
31 }
32
33 #endregion
34
35 void Refresh()
36 {
37 if (programs_.Count > 0) return;
38 programs_.Add(new ProgramNode(this));
39 }
40
41
42 List<IDebugProgram2> programs_ = new List<IDebugProgram2>();
43 private string connectionString_;
44 }
45 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698