OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CHROME_COMMON_MAC_APP_MODE_COMMON_H_ | 5 #ifndef CHROME_COMMON_MAC_APP_MODE_COMMON_H_ |
6 #define CHROME_COMMON_MAC_APP_MODE_COMMON_H_ | 6 #define CHROME_COMMON_MAC_APP_MODE_COMMON_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #import <Foundation/Foundation.h> | 9 #import <Foundation/Foundation.h> |
10 | 10 |
(...skipping 17 matching lines...) Expand all Loading... |
28 | 28 |
29 // Key for the app's URL. | 29 // Key for the app's URL. |
30 extern NSString* const kCrAppModeShortcutURLKey; | 30 extern NSString* const kCrAppModeShortcutURLKey; |
31 | 31 |
32 // Key for the app user data directory. | 32 // Key for the app user data directory. |
33 extern NSString* const kCrAppModeUserDataDirKey; | 33 extern NSString* const kCrAppModeUserDataDirKey; |
34 | 34 |
35 // Key for the app's extension path. | 35 // Key for the app's extension path. |
36 extern NSString* const kCrAppModeExtensionPathKey; | 36 extern NSString* const kCrAppModeExtensionPathKey; |
37 | 37 |
38 // When the Chrome browser is run, it stores it's location in the defaults | 38 // When the Chrome browser is run, it stores its location in the defaults |
39 // system using this key. | 39 // system using this key. |
40 extern NSString* const kLastRunAppBundlePathPrefsKey; | 40 extern NSString* const kLastRunAppBundlePathPrefsKey; |
41 | 41 |
42 // Placeholders used in the app mode loader bundle' Info.plist: | 42 // Placeholders used in the app mode loader bundle' Info.plist: |
43 extern NSString* const kShortcutIdPlaceholder; // Extension shortcut ID. | 43 extern NSString* const kShortcutIdPlaceholder; // Extension shortcut ID. |
44 extern NSString* const kShortcutNamePlaceholder; // Extension name. | 44 extern NSString* const kShortcutNamePlaceholder; // Extension name. |
45 extern NSString* const kShortcutURLPlaceholder; | 45 extern NSString* const kShortcutURLPlaceholder; |
46 // Bundle ID of the Chrome browser bundle. | 46 // Bundle ID of the Chrome browser bundle. |
47 extern NSString* const kShortcutBrowserBundleIDPlaceholder; | 47 extern NSString* const kShortcutBrowserBundleIDPlaceholder; |
48 | 48 |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
93 // Path to the app's user data directory. | 93 // Path to the app's user data directory. |
94 FilePath user_data_dir; | 94 FilePath user_data_dir; |
95 | 95 |
96 // Path to the app's extension. | 96 // Path to the app's extension. |
97 FilePath extension_path; | 97 FilePath extension_path; |
98 }; | 98 }; |
99 | 99 |
100 } // namespace app_mode | 100 } // namespace app_mode |
101 | 101 |
102 #endif // CHROME_COMMON_MAC_APP_MODE_COMMON_H_ | 102 #endif // CHROME_COMMON_MAC_APP_MODE_COMMON_H_ |
OLD | NEW |