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

Unified Diff: chrome/browser/ui/simple_message_box_internal.h

Issue 1169503002: Do not record startup metrics when non-browser UI was displayed (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Removed unnecessary include statements, override SetUpInProcessBrowserTestFixture instead of Setup. Created 5 years, 6 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
Index: chrome/browser/ui/simple_message_box_internal.h
diff --git a/chrome/browser/ui/simple_message_box_internal.h b/chrome/browser/ui/simple_message_box_internal.h
new file mode 100644
index 0000000000000000000000000000000000000000..165c9308d8136c2624a121e63017fc49bbd2859c
--- /dev/null
+++ b/chrome/browser/ui/simple_message_box_internal.h
@@ -0,0 +1,17 @@
+// Copyright 2015 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef CHROME_BROWSER_UI_SIMPLE_MESSAGE_BOX_INTERNAL_H_
+#define CHROME_BROWSER_UI_SIMPLE_MESSAGE_BOX_INTERNAL_H_
+
+namespace chrome {
+namespace internal {
gab 2015/06/16 19:55:34 nit: empty line after namespace declarations typic
tiany 2015/06/23 18:36:35 Done.
+// If true: skips prompting a blocking message box in tests in situations where
+// such UI would freeze the test, but behaves as though such a box had come up
+// and the user had clicked "OK". Defaults to false.
+extern bool g_should_skip_message_box_for_test;
+} // namespace internal
+} // namespace chrome
+
+#endif // CHROME_BROWSER_UI_SIMPLE_MESSAGE_BOX_INTERNAL_H_

Powered by Google App Engine
This is Rietveld 408576698