Index: chrome/browser/ui/app_list/search/webstore_provider_browsertest.cc |
diff --git a/chrome/browser/ui/app_list/search/webstore_provider_browsertest.cc b/chrome/browser/ui/app_list/search/webstore_provider_browsertest.cc |
index 9caf94935e4f05cd723d3290932c31fa11df7b48..d7b2a4776cae22d4933e2d7e524fbaf29371b346 100644 |
--- a/chrome/browser/ui/app_list/search/webstore_provider_browsertest.cc |
+++ b/chrome/browser/ui/app_list/search/webstore_provider_browsertest.cc |
@@ -98,11 +98,11 @@ class WebstoreProviderTest : public InProcessBrowserTest { |
if (request.relative_url.find("/jsonsearch?") != std::string::npos) { |
if (mock_server_response_ == "404") { |
- response->set_code(net::test_server::NOT_FOUND); |
+ response->set_code(net::HTTP_NOT_FOUND); |
} else if (mock_server_response_ == "500") { |
- response->set_code(net::test_server::ACCESS_DENIED); |
+ response->set_code(net::HTTP_INTERNAL_SERVER_ERROR); |
} else { |
- response->set_code(net::test_server::SUCCESS); |
+ response->set_code(net::HTTP_OK); |
response->set_content(mock_server_response_); |
} |
} |