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