OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_APP_CHROME_MAIN_MAC_H_ | 5 #ifndef CHROME_APP_CHROME_MAIN_MAC_H_ |
6 #define CHROME_APP_CHROME_MAIN_MAC_H_ | 6 #define CHROME_APP_CHROME_MAIN_MAC_H_ |
7 | 7 |
| 8 namespace base { |
8 class FilePath; | 9 class FilePath; |
| 10 } |
9 | 11 |
10 // Checks if the UserDataDir policy has been set and returns its value in the | 12 // Checks if the UserDataDir policy has been set and returns its value in the |
11 // |user_data_dir| parameter. If no policy is set the parameter is not changed. | 13 // |user_data_dir| parameter. If no policy is set the parameter is not changed. |
12 void CheckUserDataDirPolicy(FilePath* user_data_dir); | 14 void CheckUserDataDirPolicy(base::FilePath* user_data_dir); |
13 | 15 |
14 // Sets the app bundle (base::mac::FrameworkBundle()) to the framework's bundle, | 16 // Sets the app bundle (base::mac::FrameworkBundle()) to the framework's bundle, |
15 // and sets the base bundle ID (base::mac::BaseBundleID()) to the proper value | 17 // and sets the base bundle ID (base::mac::BaseBundleID()) to the proper value |
16 // based on the running application. The base bundle ID is the outer browser | 18 // based on the running application. The base bundle ID is the outer browser |
17 // application's bundle ID even when running in a non-browser (helper) | 19 // application's bundle ID even when running in a non-browser (helper) |
18 // process. | 20 // process. |
19 void SetUpBundleOverrides(); | 21 void SetUpBundleOverrides(); |
20 | 22 |
21 #endif // CHROME_APP_CHROME_MAIN_MAC_H_ | 23 #endif // CHROME_APP_CHROME_MAIN_MAC_H_ |
OLD | NEW |