summaryrefslogtreecommitdiffstats
path: root/base
diff options
context:
space:
mode:
authorerikwright <erikwright@chromium.org>2015-04-23 07:35:20 -0700
committerCommit bot <commit-bot@chromium.org>2015-04-23 14:35:26 +0000
commitcf61cd79e13a0e28c57ff8477ee33f9f885155c6 (patch)
treeefe5abdf6419cd5e79e46c8d3b1ff92f25e59e88 /base
parent0f8f99b78b395a57dccc12dc927d371962f426df (diff)
downloadchromium_src-cf61cd79e13a0e28c57ff8477ee33f9f885155c6.zip
chromium_src-cf61cd79e13a0e28c57ff8477ee33f9f885155c6.tar.gz
chromium_src-cf61cd79e13a0e28c57ff8477ee33f9f885155c6.tar.bz2
Allow Waitable event to be used to intentionally hang the UI thread for debugging purposes.
BUG=478209 Review URL: https://codereview.chromium.org/1063753005 Cr-Commit-Position: refs/heads/master@{#326514}
Diffstat (limited to 'base')
-rw-r--r--base/threading/thread_restrictions.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/base/threading/thread_restrictions.h b/base/threading/thread_restrictions.h
index 75d8925..54f50eb 100644
--- a/base/threading/thread_restrictions.h
+++ b/base/threading/thread_restrictions.h
@@ -42,6 +42,7 @@ class GpuChannelHost;
class NestedMessagePumpAndroid;
class RenderWidgetResizeHelper;
class ScopedAllowWaitForAndroidLayoutTests;
+class ScopedAllowWaitForDebugURL;
class TextInputClientMac;
} // namespace content
namespace dbus {
@@ -175,6 +176,7 @@ class BASE_EXPORT ThreadRestrictions {
friend class content::NestedMessagePumpAndroid;
friend class content::RenderWidgetResizeHelper;
friend class content::ScopedAllowWaitForAndroidLayoutTests;
+ friend class content::ScopedAllowWaitForDebugURL;
friend class ::HistogramSynchronizer;
friend class ::ScopedAllowWaitForLegacyWebViewApi;
friend class cc::CompletionEvent;