- add sources.
[platform/framework/web/crosswalk.git] / src / chrome / app / chrome_main_mac.h
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
5 #ifndef CHROME_APP_CHROME_MAIN_MAC_H_
6 #define CHROME_APP_CHROME_MAIN_MAC_H_
7
8 namespace base {
9 class FilePath;
10 }
11
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.
14 void CheckUserDataDirPolicy(base::FilePath* user_data_dir);
15
16 // Sets the app bundle (base::mac::FrameworkBundle()) to the framework's bundle,
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();
22
23 #endif  // CHROME_APP_CHROME_MAIN_MAC_H_