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 | 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 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
120 // URL for the shortcut. Must be a valid URL. | 120 // URL for the shortcut. Must be a valid URL. |
121 std::string app_mode_url; // Required: v1.0 | 121 std::string app_mode_url; // Required: v1.0 |
122 | 122 |
123 // Path to the app's user data directory. | 123 // Path to the app's user data directory. |
124 base::FilePath user_data_dir; | 124 base::FilePath user_data_dir; |
125 | 125 |
126 // Directory of the profile associated with the app. | 126 // Directory of the profile associated with the app. |
127 base::FilePath profile_dir; | 127 base::FilePath profile_dir; |
128 }; | 128 }; |
129 | 129 |
130 // Check that the socket and its parent directory have the correct permissions | |
131 // and are owned by the user. | |
tapted
2014/01/06 07:31:28
actually, it's not checking ownership (yet?).
| |
132 void VerifySocketPermissions(const base::FilePath& socket_path); | |
133 | |
130 } // namespace app_mode | 134 } // namespace app_mode |
131 | 135 |
132 #endif // CHROME_COMMON_MAC_APP_MODE_COMMON_H_ | 136 #endif // CHROME_COMMON_MAC_APP_MODE_COMMON_H_ |
OLD | NEW |