Commit 1a35e972 authored by Makoto Shimazu's avatar Makoto Shimazu Committed by Commit Bot

Convert base::Bind to base::Bind{Once,Repeating} in content/browser

This CL converts base::Bind to BindOnce or BindRepeating, and also changes
relevant base::Callbacks or base::Closures to appropriate types.

This CL is split from https://crrev.com/1831621.

This CL was uploaded by git cl split.

R=mlamouri@chromium.org

Bug: 1007760
Change-Id: Ic923e29d988364e6e5eb31ee37e5bc2c6d77d501
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1849479
Auto-Submit: Makoto Shimazu <shimazu@chromium.org>
Reviewed-by: default avatarMounir Lamouri <mlamouri@chromium.org>
Commit-Queue: Mounir Lamouri <mlamouri@chromium.org>
Cr-Commit-Position: refs/heads/master@{#704250}
parent 3de6b3d0
...@@ -577,7 +577,7 @@ IN_PROC_BROWSER_TEST_F(ManifestBrowserTest, UseCredentialsSendCookies) { ...@@ -577,7 +577,7 @@ IN_PROC_BROWSER_TEST_F(ManifestBrowserTest, UseCredentialsSendCookies) {
std::unique_ptr<net::EmbeddedTestServer> custom_embedded_test_server( std::unique_ptr<net::EmbeddedTestServer> custom_embedded_test_server(
new net::EmbeddedTestServer()); new net::EmbeddedTestServer());
custom_embedded_test_server->RegisterRequestHandler( custom_embedded_test_server->RegisterRequestHandler(
base::Bind(&CustomHandleRequestForCookies)); base::BindRepeating(&CustomHandleRequestForCookies));
ASSERT_TRUE(custom_embedded_test_server->Start()); ASSERT_TRUE(custom_embedded_test_server->Start());
...@@ -637,7 +637,7 @@ IN_PROC_BROWSER_TEST_F(ManifestBrowserTest, NoUseCredentialsNoCookies) { ...@@ -637,7 +637,7 @@ IN_PROC_BROWSER_TEST_F(ManifestBrowserTest, NoUseCredentialsNoCookies) {
std::unique_ptr<net::EmbeddedTestServer> custom_embedded_test_server( std::unique_ptr<net::EmbeddedTestServer> custom_embedded_test_server(
new net::EmbeddedTestServer()); new net::EmbeddedTestServer());
custom_embedded_test_server->RegisterRequestHandler( custom_embedded_test_server->RegisterRequestHandler(
base::Bind(&CustomHandleRequestForNoCookies)); base::BindRepeating(&CustomHandleRequestForNoCookies));
ASSERT_TRUE(custom_embedded_test_server->Start()); ASSERT_TRUE(custom_embedded_test_server->Start());
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment