OLD | NEW |
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 Loading... |
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_ |
OLD | NEW |