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

Side by Side Diff: third_party/crashpad/crashpad/util/net/http_transport_win.cc

Issue 1911823002: Convert //third_party from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: cacheinvalidation Created 4 years, 8 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
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
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698