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

Side by Side Diff: components/browser_watcher/window_hang_monitor_win_unittest.cc

Issue 1546143002: Switch to standard integer types in components/, part 1 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 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 "components/browser_watcher/window_hang_monitor_win.h" 5 #include "components/browser_watcher/window_hang_monitor_win.h"
6 6
7 #include <stddef.h>
8
7 #include <vector> 9 #include <vector>
8 10
9 #include "base/base_switches.h" 11 #include "base/base_switches.h"
10 #include "base/bind.h" 12 #include "base/bind.h"
11 #include "base/bind_helpers.h" 13 #include "base/bind_helpers.h"
12 #include "base/callback.h" 14 #include "base/callback.h"
13 #include "base/callback_helpers.h" 15 #include "base/callback_helpers.h"
14 #include "base/command_line.h" 16 #include "base/command_line.h"
15 #include "base/location.h" 17 #include "base/location.h"
16 #include "base/macros.h" 18 #include "base/macros.h"
(...skipping 359 matching lines...) Expand 10 before | Expand all | Expand 10 after
376 monitor_thread().WaitForEvent()); 378 monitor_thread().WaitForEvent());
377 379
378 // Unblock the worker thread. 380 // Unblock the worker thread.
379 hang.Signal(); 381 hang.Signal();
380 382
381 ASSERT_FALSE(monitor_thread().TimedWaitForEvent( 383 ASSERT_FALSE(monitor_thread().TimedWaitForEvent(
382 base::TimeDelta::FromMilliseconds(150))); 384 base::TimeDelta::FromMilliseconds(150)));
383 } 385 }
384 386
385 } // namespace browser_watcher 387 } // namespace browser_watcher
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698