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

Side by Side Diff: experimental/visual_studio_plugin/src/MsAd7.BaseImpl/Module.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 using System;
2 using System.Collections.Generic;
3 using System.Diagnostics;
4 using System.Linq;
5 using System.Text;
6 using Microsoft.VisualStudio;
7 using Microsoft.VisualStudio.Debugger.Interop;
8 using Microsoft.VisualStudio.OLE.Interop;
9
10 namespace Google.MsAd7.BaseImpl
11 {
12 public class Module : IDebugModule3
13 {
14 public string Name {
15 get { return name_; }
16 set { name_ = value; }
17 }
18
19 public string Url {
20 get { return url_; }
21 set { url_ = value; }
22 }
23
24 public string Version {
25 get { return version_; }
26 set { version_ = value; }
27 }
28
29 public string DebugMessage {
30 get { return debugMessage_; }
31 set { debugMessage_ = value; }
32 }
33
34 public ulong LoadAddress {
35 get { return loadAddress_; }
36 set { loadAddress_ = value; }
37 }
38
39 public ulong PreferredLoadAddress {
40 get { return preferredLoadAddress_; }
41 set { preferredLoadAddress_ = value; }
42 }
43
44 public uint Size {
45 get { return size_; }
46 set { size_ = value; }
47 }
48
49 public uint LoadOrder {
50 get { return loadOrder_; }
51 set { loadOrder_ = value; }
52 }
53
54 public FILETIME TimeStamp {
55 get { return timeStamp_; }
56 set { timeStamp_ = value; }
57 }
58
59 public string UrlSymbolLocation {
60 get { return urlSymbolLocation_; }
61 set { urlSymbolLocation_ = value; }
62 }
63
64 public enum_MODULE_FLAGS ModuleFlags {
65 get { return moduleFlags_; }
66 set { moduleFlags_ = value; }
67 }
68
69 #region Implementation of IDebugModule2
70
71 public int GetInfo(enum_MODULE_INFO_FIELDS dwFields, MODULE_INFO[] pinfo) {
72 Debug.WriteLine("Module.GetInfo");
73
74 pinfo[0].m_addrLoadAddress = loadAddress_;
75 pinfo[0].m_addrPreferredLoadAddress = preferredLoadAddress_;
76 pinfo[0].m_bstrDebugMessage = debugMessage_;
77 pinfo[0].m_bstrName = name_;
78 pinfo[0].m_bstrUrl = url_;
79 pinfo[0].m_bstrUrlSymbolLocation = urlSymbolLocation_;
80 pinfo[0].m_bstrVersion = version_;
81 pinfo[0].m_dwLoadOrder = loadOrder_;
82 pinfo[0].m_dwModuleFlags = moduleFlags_;
83 pinfo[0].m_dwSize = size_;
84 pinfo[0].dwValidFields = enum_MODULE_INFO_FIELDS.MIF_ALLFIELDS;
85
86 return VSConstants.S_OK;
87 }
88
89 public int ReloadSymbols_Deprecated(string pszUrlToSymbols, out string pbstr DebugMessage) {
90 Debug.WriteLine("Module.ReloadSymbols_Deprecated");
91 throw new NotImplementedException();
92 }
93
94 public int GetSymbolInfo(enum_SYMBOL_SEARCH_INFO_FIELDS dwFields, MODULE_SYM BOL_SEARCH_INFO[] pinfo) {
95 Debug.WriteLine("Module.GetSymbolInfo");
96 throw new NotImplementedException();
97 }
98
99 public int LoadSymbols() {
100 Debug.WriteLine("Module.LoadSymbols");
101 throw new NotImplementedException();
102 }
103
104 public int IsUserCode(out int pfUser) {
105 Debug.WriteLine("Module.IsUserCode");
106 pfUser = 1;
107 return VSConstants.S_OK;
108 }
109
110 public int SetJustMyCodeState(int fIsUserCode) {
111 Debug.WriteLine("Module.SetJustMyCodeState");
112 throw new NotImplementedException();
113 }
114
115 #endregion
116
117 private string name_ = "<unknown>";
118 private string url_ = "<unknown>";
119 private string version_ = "<unknown>";
120 private string debugMessage_ = "<unknown>";
121 private ulong loadAddress_ = 0x0000000c00000000;
122 private ulong preferredLoadAddress_ = 0;
123 private uint size_ = 0;
124 private uint loadOrder_ = 0;
125 private FILETIME timeStamp_ = new FILETIME();
126 private string urlSymbolLocation_ = "<unknown>";
127 private enum_MODULE_FLAGS moduleFlags_ = 0;
128
129 }
130 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698