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

Unified Diff: chrome/browser/chromeos/policy/blocking_login_browsertest.cc

Issue 1870793002: Convert //chrome/browser/chromeos from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/chromeos/policy/blocking_login_browsertest.cc
diff --git a/chrome/browser/chromeos/policy/blocking_login_browsertest.cc b/chrome/browser/chromeos/policy/blocking_login_browsertest.cc
index 651a9264acc7c0cea5feaf70f30fc7d67a20f02f..32e622ab61edab86e9465d02ef47c58ee9bfd705 100644
--- a/chrome/browser/chromeos/policy/blocking_login_browsertest.cc
+++ b/chrome/browser/chromeos/policy/blocking_login_browsertest.cc
@@ -170,9 +170,9 @@ class BlockingLoginTest
// Handles an HTTP request sent to the test server. This handler either
// uses a canned response in |responses_| if the request path matches one
// of the URLs that we mock, otherwise this handler delegates to |fake_gaia_|.
- scoped_ptr<net::test_server::HttpResponse> HandleRequest(
+ std::unique_ptr<net::test_server::HttpResponse> HandleRequest(
const net::test_server::HttpRequest& request) {
- scoped_ptr<net::test_server::HttpResponse> response;
+ std::unique_ptr<net::test_server::HttpResponse> response;
GaiaUrls* gaia = GaiaUrls::GetInstance();
if (request.relative_url == gaia->client_login_to_oauth2_url().path() ||

Powered by Google App Engine
This is Rietveld 408576698