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

Side by Side Diff: util/win/registration_protocol_win.h

Issue 1405243002: Fix CRITICAL_SECTION test (Closed) Base URL: https://chromium.googlesource.com/crashpad/crashpad@master
Patch Set: . Created 5 years, 2 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
« no previous file with comments | « util/win/critical_section_with_debug_info_test.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Crashpad Authors. All rights reserved. 1 // Copyright 2015 The Crashpad Authors. All rights reserved.
2 // 2 //
3 // Licensed under the Apache License, Version 2.0 (the "License"); 3 // Licensed under the Apache License, Version 2.0 (the "License");
4 // you may not use this file except in compliance with the License. 4 // you may not use this file except in compliance with the License.
5 // You may obtain a copy of the License at 5 // You may obtain a copy of the License at
6 // 6 //
7 // http://www.apache.org/licenses/LICENSE-2.0 7 // http://www.apache.org/licenses/LICENSE-2.0
8 // 8 //
9 // Unless required by applicable law or agreed to in writing, software 9 // Unless required by applicable law or agreed to in writing, software
10 // distributed under the License is distributed on an "AS IS" BASIS, 10 // distributed under the License is distributed on an "AS IS" BASIS,
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 //! request. 54 //! request.
55 WinVMAddress crash_exception_information; 55 WinVMAddress crash_exception_information;
56 56
57 //! \brief The address, in the client process's address space, of an 57 //! \brief The address, in the client process's address space, of an
58 //! ExceptionInformation structure, used when handling a non-crashing dump 58 //! ExceptionInformation structure, used when handling a non-crashing dump
59 //! request. 59 //! request.
60 WinVMAddress non_crash_exception_information; 60 WinVMAddress non_crash_exception_information;
61 61
62 //! \brief The address, in the client process's address space, of a 62 //! \brief The address, in the client process's address space, of a
63 //! `CRITICAL_SECTION` allocated with a valid .DebugInfo field. This can 63 //! `CRITICAL_SECTION` allocated with a valid .DebugInfo field. This can
64 //! be accomplished by using the 64 //! be accomplished by using
65 //! `RTL_CRITICAL_SECTION_FLAG_FORCE_DEBUG_INFO` flag to 65 //! InitializeCriticalSectionWithDebugInfoIfPossible() or equivalent. This
66 //! `InitializeCriticalSectionEx()`. This value can be `0`, however then 66 //! value can be `0`, however then limited lock data will be available in
67 //! limited lock data will be available in minidumps. 67 //! minidumps.
68 WinVMAddress critical_section_address; 68 WinVMAddress critical_section_address;
69 }; 69 };
70 70
71 //! \brief A message only sent to the server by itself to trigger shutdown. 71 //! \brief A message only sent to the server by itself to trigger shutdown.
72 struct ShutdownRequest { 72 struct ShutdownRequest {
73 //! \brief A randomly generated token used to validate the the shutdown 73 //! \brief A randomly generated token used to validate the the shutdown
74 //! request was not sent from another process. 74 //! request was not sent from another process.
75 uint64_t token; 75 uint64_t token;
76 }; 76 };
77 77
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
129 //! CrashpadClient::SetHandler(). 129 //! CrashpadClient::SetHandler().
130 //! 130 //!
131 //! \sa CrashpadClient::SetHandler() 131 //! \sa CrashpadClient::SetHandler()
132 bool SendToCrashHandlerServer(const base::string16& pipe_name, 132 bool SendToCrashHandlerServer(const base::string16& pipe_name,
133 const ClientToServerMessage& message, 133 const ClientToServerMessage& message,
134 ServerToClientMessage* response); 134 ServerToClientMessage* response);
135 135
136 } // namespace crashpad 136 } // namespace crashpad
137 137
138 #endif // CRASHPAD_UTIL_WIN_REGISTRATION_PROTOCOL_WIN_H_ 138 #endif // CRASHPAD_UTIL_WIN_REGISTRATION_PROTOCOL_WIN_H_
OLDNEW
« no previous file with comments | « util/win/critical_section_with_debug_info_test.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698