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

Side by Side Diff: client/crashpad_client.h

Issue 1428803006: win: Implement CrashpadClient::StartHandler() (Closed) Base URL: https://chromium.googlesource.com/crashpad/crashpad@master
Patch Set: Address review feedback; add a test Created 5 years, 1 month 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 | « no previous file | client/crashpad_client_win.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Crashpad Authors. All rights reserved. 1 // Copyright 2014 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 128 matching lines...) Expand 10 before | Expand all | Expand 10 after
139 //! \note This is provided as a static function to allow it to be used in 139 //! \note This is provided as a static function to allow it to be used in
140 //! situations where a CrashpadClient object is not otherwise available. 140 //! situations where a CrashpadClient object is not otherwise available.
141 //! This may be useful when a child process inherits its parent’s Crashpad 141 //! This may be useful when a child process inherits its parent’s Crashpad
142 //! handler, but wants to sever this tie. 142 //! handler, but wants to sever this tie.
143 static void UseSystemDefaultHandler(); 143 static void UseSystemDefaultHandler();
144 #endif 144 #endif
145 145
146 private: 146 private:
147 #if defined(OS_MACOSX) 147 #if defined(OS_MACOSX)
148 base::mac::ScopedMachSendRight exception_port_; 148 base::mac::ScopedMachSendRight exception_port_;
149 #elif defined(OS_WIN)
150 std::string ipc_port_;
149 #endif 151 #endif
150 152
151 DISALLOW_COPY_AND_ASSIGN(CrashpadClient); 153 DISALLOW_COPY_AND_ASSIGN(CrashpadClient);
152 }; 154 };
153 155
154 } // namespace crashpad 156 } // namespace crashpad
155 157
156 #endif // CRASHPAD_CLIENT_CRASHPAD_CLIENT_H_ 158 #endif // CRASHPAD_CLIENT_CRASHPAD_CLIENT_H_
OLDNEW
« no previous file with comments | « no previous file | client/crashpad_client_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698