 Chromium Code Reviews
 Chromium Code Reviews Issue 1169503002:
  Do not record startup metrics when non-browser UI was displayed  (Closed) 
  Base URL: https://chromium.googlesource.com/chromium/src.git@master
    
  
    Issue 1169503002:
  Do not record startup metrics when non-browser UI was displayed  (Closed) 
  Base URL: https://chromium.googlesource.com/chromium/src.git@master| 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..5ef311c76cb6f297b61ae94ff898dda4184e5132 | 
| --- /dev/null | 
| +++ b/chrome/browser/ui/simple_message_box_internal.h | 
| @@ -0,0 +1,17 @@ | 
| +// Copyright (c) 2015 The Chromium Authors. All rights reserved. | 
| 
huangs
2015/06/12 18:16:14
NIT: Remove (c)
 | 
| +// 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 { | 
| +// 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_ |