Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(162)

Side by Side Diff: chrome/app/chrome_main.h

Issue 7779018: Get rid of unnecessary chrome_main_ files now that most of the code has been removed from them. I... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | chrome/app/chrome_main.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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_H_
6 #define CHROME_APP_CHROME_MAIN_H_
7 #pragma once
8
9 #include "build/build_config.h"
10
11 // See
12 // http://dev.chromium.org/developers/design-documents/startup
13 // for a discussion of the various pieces involved in startup.
14 // This header is for pulling some platform-specific initialization
15 // parts out of chrome_main.cc and into chrome_main_*.cc.
16
17 class FilePath;
18
19 namespace chrome_main {
20
21 // Checks if the UserDataDir policy has been set and returns its value in the
22 // |user_data_dir| parameter. If no policy is set the parameter is not changed.
23 void CheckUserDataDirPolicy(FilePath* user_data_dir);
24
25 #if defined(OS_MACOSX)
26 // Sets the app bundle (base::mac::MainAppBundle()) to the framework's bundle,
27 // and sets the base bundle ID (base::mac::BaseBundleID()) to the proper value
28 // based on the running application. The base bundle ID is the outer browser
29 // application's bundle ID even when running in a non-browser (helper)
30 // process.
31 void SetUpBundleOverrides();
32 #endif
33
34 } // namespace chrome_main
35
36 #endif // CHROME_APP_CHROME_MAIN_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/app/chrome_main.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698