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

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

Issue 333403007: Revert 277743 "[Mac] Add interactive App Shim test." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 years, 6 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 | « trunk/src/chrome/chrome_tests.gypi ('k') | trunk/src/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 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 19 matching lines...) Expand all
30 extern const char kAppShimSocketSymlinkName[]; 30 extern const char kAppShimSocketSymlinkName[];
31 31
32 // Special app mode id used for the App Launcher. 32 // Special app mode id used for the App Launcher.
33 extern const char kAppListModeId[]; 33 extern const char kAppListModeId[];
34 34
35 // The process ID of the Chrome process that launched the app shim. 35 // The process ID of the Chrome process that launched the app shim.
36 // The presence of this switch instructs the app shim to send LaunchApp with 36 // The presence of this switch instructs the app shim to send LaunchApp with
37 // launch_now = false. This associates the shim without launching the app. 37 // launch_now = false. This associates the shim without launching the app.
38 extern const char kLaunchedByChromeProcessId[]; 38 extern const char kLaunchedByChromeProcessId[];
39 39
40 // Indicates to the shim that it was launched for a test, so don't attempt to
41 // launch Chrome.
42 extern const char kLaunchedForTest[];
43
44 // Path to an app shim bundle. Indicates to Chrome that this shim attempted to 40 // Path to an app shim bundle. Indicates to Chrome that this shim attempted to
45 // launch but failed. 41 // launch but failed.
46 extern const char kAppShimError[]; 42 extern const char kAppShimError[];
47 43
48 // Keys for specifying the file types handled by an app. 44 // Keys for specifying the file types handled by an app.
49 extern NSString* const kCFBundleDocumentTypesKey; 45 extern NSString* const kCFBundleDocumentTypesKey;
50 extern NSString* const kCFBundleTypeExtensionsKey; 46 extern NSString* const kCFBundleTypeExtensionsKey;
51 extern NSString* const kCFBundleTypeIconFileKey; 47 extern NSString* const kCFBundleTypeIconFileKey;
52 extern NSString* const kCFBundleTypeNameKey; 48 extern NSString* const kCFBundleTypeNameKey;
53 extern NSString* const kCFBundleTypeMIMETypesKey; 49 extern NSString* const kCFBundleTypeMIMETypesKey;
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
147 base::FilePath profile_dir; 143 base::FilePath profile_dir;
148 }; 144 };
149 145
150 // Check that the socket and its parent directory have the correct permissions 146 // Check that the socket and its parent directory have the correct permissions
151 // and are owned by the user. 147 // and are owned by the user.
152 void VerifySocketPermissions(const base::FilePath& socket_path); 148 void VerifySocketPermissions(const base::FilePath& socket_path);
153 149
154 } // namespace app_mode 150 } // namespace app_mode
155 151
156 #endif // CHROME_COMMON_MAC_APP_MODE_COMMON_H_ 152 #endif // CHROME_COMMON_MAC_APP_MODE_COMMON_H_
OLDNEW
« no previous file with comments | « trunk/src/chrome/chrome_tests.gypi ('k') | trunk/src/chrome/common/mac/app_mode_common.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698