blob: 6fafd47af97d8e6e902b664f783ddf6fe6d955d0 [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#pragma once
8
[email protected]a09270ae2011-02-28 22:21:329class FilePath;
10
[email protected]a09270ae2011-02-28 22:21:3211// 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.
13void CheckUserDataDirPolicy(FilePath* user_data_dir);
14
[email protected]adf9eea2011-04-26 15:39:5515// 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.
20void SetUpBundleOverrides();
[email protected]151c4a62011-04-22 04:15:1321
[email protected]b1cb7b62011-09-06 22:01:5122#endif // CHROME_APP_CHROME_MAIN_MAC_H_