[Metrics] Make MetricsStateManager take a callback param to check if UMA is enabled.
[chromium-blink-merge.git] / chrome / browser / ui / cocoa / window_restore_utils.h
blobdbb903cb4bc1a7cc3930b57ac058e6f58183ac3f
1 // Copyright (c) 2011 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.
5 #ifndef CHROME_BROWSER_UI_COCOA_WINDOW_RESTORE_UTILS_H_
6 #define CHROME_BROWSER_UI_COCOA_WINDOW_RESTORE_UTILS_H_
8 namespace restore_utils {
10 // On Lion or later, returns |true| if the System Preference
11 // "Restore windows..." option is checked. Other OSes will return |false|.
12 bool IsWindowRestoreEnabled();
14 } // namespace restore_utils
16 #endif // CHROME_BROWSER_UI_COCOA_WINDOW_RESTORE_UTILS_H_