summaryrefslogtreecommitdiffstats
path: root/chrome/browser/parsers/metadata_parser.h
diff options
context:
space:
mode:
authorrdevlin.cronin@chromium.org <rdevlin.cronin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-06-30 20:50:00 +0000
committerrdevlin.cronin@chromium.org <rdevlin.cronin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-06-30 20:50:00 +0000
commit5a7de14e6a2b7e742e7189b6fa6d0e641dd2017d (patch)
treeed6158a290c78f46a7a844cfc2d5157602f46f55 /chrome/browser/parsers/metadata_parser.h
parent4d400bf6bd73b8733f2e9fe0d73bfba5244f7e60 (diff)
downloadchromium_src-5a7de14e6a2b7e742e7189b6fa6d0e641dd2017d.zip
chromium_src-5a7de14e6a2b7e742e7189b6fa6d0e641dd2017d.tar.gz
chromium_src-5a7de14e6a2b7e742e7189b6fa6d0e641dd2017d.tar.bz2
Make ChromeSigninClient check if the passed in process id is valid
ChromeSigninClient::IsSigninProcess() checks only if the passed in process is equal to the signin host id, but the signin host id is initialized to -1 (and set back if the signin process goes away). This means that if we ever check if an invalid process is a signin process, the answer is "yes". Fix this by making ChromeSigninClient::IsSigninProcess check if the process id is valid first. Review URL: https://codereview.chromium.org/337263007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@280658 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/parsers/metadata_parser.h')
0 files changed, 0 insertions, 0 deletions