Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(7)

Side by Side Diff: chrome/common/mac/app_mode_common.h

Issue 9374009: Install platform apps into a separate data directory (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: address review comments Created 8 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/browser/web_applications/web_app_mac.mm ('k') | chrome/common/mac/app_mode_common.mm » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 14 matching lines...) Expand all
25 25
26 // Key for the app's name. 26 // Key for the app's name.
27 extern NSString* const kCrAppModeShortcutNameKey; 27 extern NSString* const kCrAppModeShortcutNameKey;
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.
36 extern NSString * const kCrAppModeExtensionPathKey;
Mihai Parparita -not on Chrome 2012/02/23 00:25:19 Nit: no space before *.
sail 2012/02/23 00:42:48 Done.
37
35 // When the Chrome browser is run, it stores it's location in the defaults 38 // When the Chrome browser is run, it stores it's location in the defaults
36 // system using this key. 39 // system using this key.
37 extern NSString* const kLastRunAppBundlePathPrefsKey; 40 extern NSString* const kLastRunAppBundlePathPrefsKey;
38 41
39 // Placeholders used in the app mode loader bundle' Info.plist: 42 // Placeholders used in the app mode loader bundle' Info.plist:
40 extern NSString* const kShortcutIdPlaceholder; // Extension shortcut ID. 43 extern NSString* const kShortcutIdPlaceholder; // Extension shortcut ID.
41 extern NSString* const kShortcutNamePlaceholder; // Extension name. 44 extern NSString* const kShortcutNamePlaceholder; // Extension name.
42 extern NSString* const kShortcutURLPlaceholder; 45 extern NSString* const kShortcutURLPlaceholder;
43 // Bundle ID of the Chrome browser bundle. 46 // Bundle ID of the Chrome browser bundle.
44 extern NSString* const kShortcutBrowserBundleIDPlaceholder; 47 extern NSString* const kShortcutBrowserBundleIDPlaceholder;
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 std::string app_mode_id; // Required: v1.0 85 std::string app_mode_id; // Required: v1.0
83 86
84 // Unrestricted (e.g., several-word) UTF8-encoded name for the shortcut. 87 // Unrestricted (e.g., several-word) UTF8-encoded name for the shortcut.
85 string16 app_mode_name; // Optional: v1.0 88 string16 app_mode_name; // Optional: v1.0
86 89
87 // URL for the shortcut. Must be a valid URL. 90 // URL for the shortcut. Must be a valid URL.
88 std::string app_mode_url; // Optional: v1.0 91 std::string app_mode_url; // Optional: v1.0
89 92
90 // Path to the app's user data directory. 93 // Path to the app's user data directory.
91 FilePath user_data_dir; 94 FilePath user_data_dir;
95
96 // Path to the app's extension.
97 FilePath extension_path;
92 }; 98 };
93 99
94 } // namespace app_mode 100 } // namespace app_mode
95 101
96 #endif // CHROME_COMMON_MAC_APP_MODE_COMMON_H_ 102 #endif // CHROME_COMMON_MAC_APP_MODE_COMMON_H_
OLDNEW
« no previous file with comments | « chrome/browser/web_applications/web_app_mac.mm ('k') | chrome/common/mac/app_mode_common.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698