diff options
author | dmaclach@chromium.org <dmaclach@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-12-18 00:31:30 +0000 |
---|---|---|
committer | dmaclach@chromium.org <dmaclach@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-12-18 00:31:30 +0000 |
commit | d9cb161850584e5d277b141aadb68abec0af28bb (patch) | |
tree | 52cdb82bc14b488f7c93edcaa018550fcd8c9cc3 /chrome/browser/safe_browsing | |
parent | 92f132ae9e06a0f55d65b44a324ac74b53a2945d (diff) | |
download | chromium_src-d9cb161850584e5d277b141aadb68abec0af28bb.zip chromium_src-d9cb161850584e5d277b141aadb68abec0af28bb.tar.gz chromium_src-d9cb161850584e5d277b141aadb68abec0af28bb.tar.bz2 |
file_version_info was not finding Mac values correctly.
Changed file_version_info to find Mac values, and changed version_info to fail if values can't be found.
BUG=NONE
TEST=BUILD
Review URL: http://codereview.chromium.org/5815001
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69592 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/safe_browsing')
-rw-r--r-- | chrome/browser/safe_browsing/protocol_manager.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/safe_browsing/protocol_manager.cc b/chrome/browser/safe_browsing/protocol_manager.cc index 8e29489..e620c11 100644 --- a/chrome/browser/safe_browsing/protocol_manager.cc +++ b/chrome/browser/safe_browsing/protocol_manager.cc @@ -119,7 +119,7 @@ SafeBrowsingProtocolManager::SafeBrowsingProtocolManager( next_update_sec_ = base::RandInt(60, kSbTimerStartIntervalSec); chrome::VersionInfo version_info; - if (!version_info.is_valid() || version_info.Version().empty()) + if (version_info.Version().empty()) version_ = "0.1"; else version_ = version_info.Version(); |