blob: 0de6cc8f2bf0003f3d61cfa12880623c0b86a135 [file] [log] [blame]
[email protected]a09270ae2011-02-28 22:21:321// 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]b1cb7b62011-09-06 22:01:515#ifndef CHROME_APP_CHROME_MAIN_MAC_H_
6#define CHROME_APP_CHROME_MAIN_MAC_H_
[email protected]a09270ae2011-02-28 22:21:327
[email protected]a3ef4832013-02-02 05:12:338namespace base {
[email protected]a09270ae2011-02-28 22:21:329class FilePath;
[email protected]a3ef4832013-02-02 05:12:3310}
[email protected]a09270ae2011-02-28 22:21:3211
[email protected]a09270ae2011-02-28 22:21:3212// 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]a3ef4832013-02-02 05:12:3314void CheckUserDataDirPolicy(base::FilePath* user_data_dir);
[email protected]a09270ae2011-02-28 22:21:3215
[email protected]2f1804c2012-01-19 14:59:0716// Sets the app bundle (base::mac::FrameworkBundle()) to the framework's bundle,
[email protected]adf9eea2011-04-26 15:39:5517// 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.
21void SetUpBundleOverrides();
[email protected]151c4a62011-04-22 04:15:1322
[email protected]b1cb7b62011-09-06 22:01:5123#endif // CHROME_APP_CHROME_MAIN_MAC_H_