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

Side by Side Diff: experimental/visual_studio_plugin/src/NaClVsx.Package/NaClVsx.Package_UnitTestProject/BreakpointRequestMock.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 2010 The Native Client Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can
3 // be found in the LICENSE file.
4
5 using System.Runtime.InteropServices;
6 using Google.MsAd7.BaseImpl;
7 using Microsoft.VisualStudio;
8 using Microsoft.VisualStudio.Debugger.Interop;
9
10 namespace NaClVsx.Package_UnitTestProject {
11 public class BreakpointRequestMock : IDebugBreakpointRequest2 {
12
13 #region IDebugBreakpointRequest2 Members
14
15 public int GetLocationType(enum_BP_LOCATION_TYPE[] pBpLocationType) {
16 pBpLocationType[0] = enum_BP_LOCATION_TYPE.BPLT_FILE_LINE;
17 return VSConstants.S_OK;
18 }
19
20 public int GetRequestInfo(enum_BPREQI_FIELDS dwFields,
21 BP_REQUEST_INFO[] pBPRequestInfo) {
22 pBPRequestInfo[0] = new BP_REQUEST_INFO {
23 bpLocation = {
24 bpLocationType = (uint) enum_BP_LOCATION_TYPE.BPLT_CODE_FILE_LINE,
25 unionmember2 = Marshal.GetIUnknownForObject(
26 new DocumentPosition("C:\\test\\path", 123))
27 }
28 };
29
30 return VSConstants.S_OK;
31 }
32
33 #endregion
34 }
35 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698