OLD | NEW |
---|---|
(Empty) | |
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 | |
3 // found in the LICENSE file. | |
4 | |
5 #include "chrome/common/startup_metric_utils.h" | |
6 | |
7 namespace { | |
8 | |
9 // Value may potentially be modified and read on different threads. | |
sky
2012/07/28 02:13:35
Is this comment right? Isn't this only used on the
| |
10 static volatile bool g_non_browser_ui_displayed = false; | |
11 | |
12 } // namespace | |
13 | |
14 namespace startup_metric_utils { | |
15 | |
16 bool WasNonBrowserUIDisplayed() { | |
17 return g_non_browser_ui_displayed; | |
18 } | |
19 | |
20 void SetNonBrowserUIDisplayed() { | |
21 g_non_browser_ui_displayed = true; | |
22 } | |
23 | |
24 } // namespace startup_metric_utils | |
OLD | NEW |