[email protected] | 12dc3d4 | 2010-02-22 23:37:12 | [diff] [blame^] | 1 | // Copyright (c) 2010 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 | #ifndef CHROME_COMMON_APP_MODE_CONSTANTS_MAC_H_ |
| 6 | #define CHROME_COMMON_APP_MODE_CONSTANTS_MAC_H_ |
| 7 | |
| 8 | #include <CoreFoundation/CoreFoundation.h> |
| 9 | |
| 10 | // This file contains constants which must be known both by the browser |
| 11 | // application and by the app mode loader (a.k.a. shim). |
| 12 | |
| 13 | namespace app_mode { |
| 14 | |
| 15 | // The ID under which app mode preferences will be recorded |
| 16 | // ("org.chromium.Chromium" or "com.google.Chrome"). |
| 17 | extern const CFStringRef kAppPrefsID; |
| 18 | |
| 19 | // The key under which to record the path to the (user-visible) application |
| 20 | // bundle; this key is recorded under the ID given by |kAppPrefsID|. |
| 21 | extern const CFStringRef kLastRunAppBundlePathPrefsKey; |
| 22 | |
| 23 | } // namespace app_mode |
| 24 | |
| 25 | #endif // CHROME_COMMON_APP_MODE_CONSTANTS_MAC_H_ |