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

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

Issue 356893002: Add UMA for --app-shim-error. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address comments Created 6 years, 5 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
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 7
8 #import <Foundation/Foundation.h> 8 #import <Foundation/Foundation.h>
9 9
10 #include "base/files/file_path.h" 10 #include "base/files/file_path.h"
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 extern NSString* const kCFBundleTypeIconFileKey; 55 extern NSString* const kCFBundleTypeIconFileKey;
56 extern NSString* const kCFBundleTypeNameKey; 56 extern NSString* const kCFBundleTypeNameKey;
57 extern NSString* const kCFBundleTypeMIMETypesKey; 57 extern NSString* const kCFBundleTypeMIMETypesKey;
58 extern NSString* const kCFBundleTypeRoleKey; 58 extern NSString* const kCFBundleTypeRoleKey;
59 extern NSString* const kBundleTypeRoleViewer; 59 extern NSString* const kBundleTypeRoleViewer;
60 60
61 // The display name of the bundle as shown in Finder and the Dock. For localized 61 // The display name of the bundle as shown in Finder and the Dock. For localized
62 // bundles, this overrides the bundle's file name. 62 // bundles, this overrides the bundle's file name.
63 extern NSString* const kCFBundleDisplayNameKey; 63 extern NSString* const kCFBundleDisplayNameKey;
64 64
65 // The Chrome version string in the app shim bundle.
66 extern NSString* const kCFBundleShortVersionStringKey;
67
65 // The key specifying whether the display name should be localized. This makes 68 // The key specifying whether the display name should be localized. This makes
66 // Finder look in localization folders in the app bundle for a display name. 69 // Finder look in localization folders in the app bundle for a display name.
67 // (e.g. Content/Resources/en.lproj/) 70 // (e.g. Content/Resources/en.lproj/)
68 extern NSString* const kLSHasLocalizedDisplayNameKey; 71 extern NSString* const kLSHasLocalizedDisplayNameKey;
69 72
70 // The key under which the browser's bundle ID will be stored in the 73 // The key under which the browser's bundle ID will be stored in the
71 // app mode launcher bundle's Info.plist. 74 // app mode launcher bundle's Info.plist.
72 extern NSString* const kBrowserBundleIDKey; 75 extern NSString* const kBrowserBundleIDKey;
73 76
74 // Key for the shortcut ID. 77 // Key for the shortcut ID.
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
151 base::FilePath profile_dir; 154 base::FilePath profile_dir;
152 }; 155 };
153 156
154 // Check that the socket and its parent directory have the correct permissions 157 // Check that the socket and its parent directory have the correct permissions
155 // and are owned by the user. 158 // and are owned by the user.
156 void VerifySocketPermissions(const base::FilePath& socket_path); 159 void VerifySocketPermissions(const base::FilePath& socket_path);
157 160
158 } // namespace app_mode 161 } // namespace app_mode
159 162
160 #endif // CHROME_COMMON_MAC_APP_MODE_COMMON_H_ 163 #endif // CHROME_COMMON_MAC_APP_MODE_COMMON_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698