diff options
author | robertshield@chromium.org <robertshield@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-11-16 14:24:30 +0000 |
---|---|---|
committer | robertshield@chromium.org <robertshield@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-11-16 14:24:30 +0000 |
commit | 857693556e84098953c3a309168a4096ae6070c3 (patch) | |
tree | 7a5f1e601c803cb2b9d7728339346d8efac97088 /chrome/gpu/gpu_video_decoder.cc | |
parent | a315ba9050574f4da54507c10c5018815d4606c9 (diff) | |
download | chromium_src-857693556e84098953c3a309168a4096ae6070c3.zip chromium_src-857693556e84098953c3a309168a4096ae6070c3.tar.gz chromium_src-857693556e84098953c3a309168a4096ae6070c3.tar.bz2 |
Add a --chrome-version switch to Chrome that serves a similar purpose to the CHROME_VERSION environment variable since environment variables are unsuitable for Chrome Frame's needs.
Also add some validation to the version numbers plucked from both the command line flag and the environment variable to reduce the chances of success of bogus-version number skulduggery.
BUG=61609
TEST=Run Chrome with --chrome-version=a.b.c.d, observe that that version of chrome.dll is loaded.
Review URL: http://codereview.chromium.org/4664004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@66268 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/gpu/gpu_video_decoder.cc')
0 files changed, 0 insertions, 0 deletions