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

Unified Diff: content/browser/frame_host/render_frame_message_filter_browsertest.cc

Issue 2201763002: Switch on use_new_wrapper_types mode for content/common. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address comments from kinuko Created 4 years, 4 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
« no previous file with comments | « content/browser/frame_host/render_frame_message_filter.cc ('k') | content/browser/leveldb_wrapper_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/frame_host/render_frame_message_filter_browsertest.cc
diff --git a/content/browser/frame_host/render_frame_message_filter_browsertest.cc b/content/browser/frame_host/render_frame_message_filter_browsertest.cc
index e6c3dcd379d3db2099e00f65f1e4de4ef3595c37..157146efa91d65c94bfa4b00bd2e5d31f754982b 100644
--- a/content/browser/frame_host/render_frame_message_filter_browsertest.cc
+++ b/content/browser/frame_host/render_frame_message_filter_browsertest.cc
@@ -201,13 +201,17 @@ IN_PROC_BROWSER_TEST_F(RenderFrameMessageFilterBrowserTest,
// Try to get cross-site cookies from the subframe's process and wait for it
// to be killed.
- BrowserThread::GetTaskRunnerForThread(BrowserThread::IO)->PostTask(
- FROM_HERE,
- base::Bind([] (RenderFrameHost* frame) {
- GetFilterForProcess(frame->GetProcess())->GetCookies(
- frame->GetRoutingID(), GURL("http://127.0.0.1/"),
- GURL("http://127.0.0.1/"), base::Bind([] (mojo::String) {}));
- }, iframe));
+ BrowserThread::GetTaskRunnerForThread(BrowserThread::IO)
+ ->PostTask(FROM_HERE,
+ base::Bind(
+ [](RenderFrameHost* frame) {
+ GetFilterForProcess(frame->GetProcess())
+ ->GetCookies(frame->GetRoutingID(),
+ GURL("http://127.0.0.1/"),
+ GURL("http://127.0.0.1/"),
+ base::Bind([](const std::string&) {}));
+ },
+ iframe));
iframe_killed.Wait();
« no previous file with comments | « content/browser/frame_host/render_frame_message_filter.cc ('k') | content/browser/leveldb_wrapper_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698