| OLD | NEW |
| 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 227 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 238 response_body->append(read_buffer, bytes_read); | 238 response_body->append(read_buffer, bytes_read); |
| 239 } while (bytes_read > 0); | 239 } while (bytes_read > 0); |
| 240 } | 240 } |
| 241 | 241 |
| 242 return true; | 242 return true; |
| 243 } | 243 } |
| 244 | 244 |
| 245 } // namespace | 245 } // namespace |
| 246 | 246 |
| 247 // static | 247 // static |
| 248 scoped_ptr<HTTPTransport> HTTPTransport::Create() { | 248 std::unique_ptr<HTTPTransport> HTTPTransport::Create() { |
| 249 return scoped_ptr<HTTPTransportWin>(new HTTPTransportWin); | 249 return std::unique_ptr<HTTPTransportWin>(new HTTPTransportWin); |
| 250 } | 250 } |
| 251 | 251 |
| 252 } // namespace crashpad | 252 } // namespace crashpad |
| OLD | NEW |