[email protected] | a09270ae | 2011-02-28 22:21:32 | [diff] [blame] | 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 | ||||
3 | // found in the LICENSE file. | ||||
4 | |||||
[email protected] | b1cb7b6 | 2011-09-06 22:01:51 | [diff] [blame] | 5 | #ifndef CHROME_APP_CHROME_MAIN_MAC_H_ |
6 | #define CHROME_APP_CHROME_MAIN_MAC_H_ | ||||
[email protected] | a09270ae | 2011-02-28 22:21:32 | [diff] [blame] | 7 | |
[email protected] | a3ef483 | 2013-02-02 05:12:33 | [diff] [blame] | 8 | namespace base { |
[email protected] | a09270ae | 2011-02-28 22:21:32 | [diff] [blame] | 9 | class FilePath; |
[email protected] | a3ef483 | 2013-02-02 05:12:33 | [diff] [blame] | 10 | } |
[email protected] | a09270ae | 2011-02-28 22:21:32 | [diff] [blame] | 11 | |
[email protected] | a09270ae | 2011-02-28 22:21:32 | [diff] [blame] | 12 | // Checks if the UserDataDir policy has been set and returns its value in the |
13 | // |user_data_dir| parameter. If no policy is set the parameter is not changed. | ||||
[email protected] | a3ef483 | 2013-02-02 05:12:33 | [diff] [blame] | 14 | void CheckUserDataDirPolicy(base::FilePath* user_data_dir); |
[email protected] | a09270ae | 2011-02-28 22:21:32 | [diff] [blame] | 15 | |
[email protected] | 2f1804c | 2012-01-19 14:59:07 | [diff] [blame] | 16 | // Sets the app bundle (base::mac::FrameworkBundle()) to the framework's bundle, |
[email protected] | adf9eea | 2011-04-26 15:39:55 | [diff] [blame] | 17 | // and sets the base bundle ID (base::mac::BaseBundleID()) to the proper value |
18 | // based on the running application. The base bundle ID is the outer browser | ||||
19 | // application's bundle ID even when running in a non-browser (helper) | ||||
20 | // process. | ||||
21 | void SetUpBundleOverrides(); | ||||
[email protected] | 151c4a6 | 2011-04-22 04:15:13 | [diff] [blame] | 22 | |
[email protected] | b1cb7b6 | 2011-09-06 22:01:51 | [diff] [blame] | 23 | #endif // CHROME_APP_CHROME_MAIN_MAC_H_ |