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

Side by Side Diff: content/browser/message_port_provider_browsertest.cc

Issue 1549113002: Switch to standard integer types in content/browser/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 12 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
« no previous file with comments | « content/browser/message_port_provider.cc ('k') | content/browser/message_port_service.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "base/bind.h" 5 #include "base/bind.h"
6 #include "base/macros.h"
6 #include "base/strings/utf_string_conversions.h" 7 #include "base/strings/utf_string_conversions.h"
7 #include "base/synchronization/waitable_event.h" 8 #include "base/synchronization/waitable_event.h"
8 #include "content/browser/message_port_service.h" 9 #include "content/browser/message_port_service.h"
9 #include "content/public/browser/browser_thread.h" 10 #include "content/public/browser/browser_thread.h"
10 #include "content/public/browser/message_port_delegate.h" 11 #include "content/public/browser/message_port_delegate.h"
11 #include "content/public/browser/message_port_provider.h" 12 #include "content/public/browser/message_port_provider.h"
12 #include "content/public/browser/web_contents.h" 13 #include "content/public/browser/web_contents.h"
13 #include "content/public/test/browser_test_utils.h" 14 #include "content/public/test/browser_test_utils.h"
14 #include "content/public/test/content_browser_test.h" 15 #include "content/public/test/content_browser_test.h"
15 #include "content/public/test/content_browser_test_utils.h" 16 #include "content/public/test/content_browser_test_utils.h"
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after
136 // messages. 137 // messages.
137 IN_PROC_BROWSER_TEST_F(MessagePortProviderBrowserTest, CreateChannel) { 138 IN_PROC_BROWSER_TEST_F(MessagePortProviderBrowserTest, CreateChannel) {
138 base::WaitableEvent event(true, false); 139 base::WaitableEvent event(true, false);
139 BrowserThread::PostTask( 140 BrowserThread::PostTask(
140 BrowserThread::IO, FROM_HERE, 141 BrowserThread::IO, FROM_HERE,
141 base::Bind(&VerifyCreateChannelOnIOThread, &event)); 142 base::Bind(&VerifyCreateChannelOnIOThread, &event));
142 event.Wait(); 143 event.Wait();
143 } 144 }
144 145
145 } // namespace content 146 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/message_port_provider.cc ('k') | content/browser/message_port_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698