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

Side by Side Diff: chrome/browser/renderer_host/render_process_host_chrome_browsertest.cc

Issue 1548133002: Switch to standard integer types in chrome/browser/, part 3 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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/command_line.h" 5 #include "base/command_line.h"
6 #include "base/macros.h"
6 #include "base/path_service.h" 7 #include "base/path_service.h"
7 #include "base/process/process.h" 8 #include "base/process/process.h"
8 #include "base/test/test_timeouts.h" 9 #include "base/test/test_timeouts.h"
10 #include "build/build_config.h"
9 #include "chrome/browser/chrome_notification_types.h" 11 #include "chrome/browser/chrome_notification_types.h"
10 #include "chrome/browser/devtools/devtools_window.h" 12 #include "chrome/browser/devtools/devtools_window.h"
11 #include "chrome/browser/search/search.h" 13 #include "chrome/browser/search/search.h"
12 #include "chrome/browser/ui/browser.h" 14 #include "chrome/browser/ui/browser.h"
13 #include "chrome/browser/ui/browser_commands.h" 15 #include "chrome/browser/ui/browser_commands.h"
14 #include "chrome/browser/ui/singleton_tabs.h" 16 #include "chrome/browser/ui/singleton_tabs.h"
15 #include "chrome/browser/ui/tabs/tab_strip_model.h" 17 #include "chrome/browser/ui/tabs/tab_strip_model.h"
16 #include "chrome/common/chrome_switches.h" 18 #include "chrome/common/chrome_switches.h"
17 #include "chrome/common/url_constants.h" 19 #include "chrome/common/url_constants.h"
18 #include "chrome/test/base/in_process_browser_test.h" 20 #include "chrome/test/base/in_process_browser_test.h"
(...skipping 652 matching lines...) Expand 10 before | Expand all | Expand 10 after
671 content::ExecuteScript(audio_tab_web_contents_, 673 content::ExecuteScript(audio_tab_web_contents_,
672 "document.getElementById('audioPlayer').play();")); 674 "document.getElementById('audioPlayer').play();"));
673 675
674 // Wait until the two pages are not backgrounded. 676 // Wait until the two pages are not backgrounded.
675 while (no_audio_process_.IsProcessBackgrounded() || 677 while (no_audio_process_.IsProcessBackgrounded() ||
676 audio_process_.IsProcessBackgrounded()) { 678 audio_process_.IsProcessBackgrounded()) {
677 base::RunLoop().RunUntilIdle(); 679 base::RunLoop().RunUntilIdle();
678 base::PlatformThread::Sleep(TestTimeouts::tiny_timeout()); 680 base::PlatformThread::Sleep(TestTimeouts::tiny_timeout());
679 } 681 }
680 } 682 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698