DescriptionInfrastructure to improve app mode stub <-> Chrome main communication.
We currently modify the command line to communicate from the launcher to ChromeMain(), this seems like a bad idea in the long run. The aim of this CL is to provide infrastructure to help us going forward.
* Add an IsRunningInAppMode() function we an use to determine that we're using app mode rather than having each callsite check the command line.
* Mac: Add a function to allow access to the ChromeAppModeInfo struct from anywhere in the code, so we don't need to plumb it down to individual callsites.
TEST=Covered by existing tests.
BUG=None
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=125302
Patch Set 1 #
Total comments: 1
Patch Set 2 : Another approach #
Total comments: 2
Patch Set 3 : Fix review comments. #
Messages
Total messages: 8 (0 generated)
|