diff options
author | lzheng@chromium.org <lzheng@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-11-09 21:49:40 +0000 |
---|---|---|
committer | lzheng@chromium.org <lzheng@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-11-09 21:49:40 +0000 |
commit | 813e9cd124841e826bd24aa2c00fe812815d7796 (patch) | |
tree | 596094802d3bfbad10ddcd176ff4a9d9cac95f34 /chrome/browser/safe_browsing/protocol_manager.cc | |
parent | 630b71e9f360151fa934d4b8eab7ecf987211239 (diff) | |
download | chromium_src-813e9cd124841e826bd24aa2c00fe812815d7796.zip chromium_src-813e9cd124841e826bd24aa2c00fe812815d7796.tar.gz chromium_src-813e9cd124841e826bd24aa2c00fe812815d7796.tar.bz2 |
Make sure the generated python proto buff path is right.
BUG=62415
TEST=mac trybot green with safe_browsing_tests
Review URL: http://codereview.chromium.org/4677002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65574 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/safe_browsing/protocol_manager.cc')
-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 ab8ad5c..d76cd7a 100644 --- a/chrome/browser/safe_browsing/protocol_manager.cc +++ b/chrome/browser/safe_browsing/protocol_manager.cc @@ -76,7 +76,7 @@ SafeBrowsingProtocolManager::SafeBrowsingProtocolManager( next_update_sec_ = base::RandInt(60, kSbTimerStartIntervalSec); chrome::VersionInfo version_info; - if (!version_info.is_valid()) + if (!version_info.is_valid() || version_info.Version().empty()) version_ = "0.1"; else version_ = version_info.Version(); |