Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(837)

Side by Side Diff: chrome/browser/safe_browsing/protocol_manager.cc

Issue 4007: Cleanup EOL and include guards. Lack of EOL on bloom_filter.h had broken the... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 12 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/browser/safe_browsing/protocol_manager.h" 5 #include "chrome/browser/safe_browsing/protocol_manager.h"
6 6
7 #include "base/histogram.h" 7 #include "base/histogram.h"
8 #include "base/logging.h" 8 #include "base/logging.h"
9 #include "base/message_loop.h" 9 #include "base/message_loop.h"
10 #include "base/string_util.h" 10 #include "base/string_util.h"
(...skipping 543 matching lines...) Expand 10 before | Expand all | Expand 10 after
554 void SafeBrowsingProtocolManager::HandleReKey() { 554 void SafeBrowsingProtocolManager::HandleReKey() {
555 client_key_.clear(); 555 client_key_.clear();
556 wrapped_key_.clear(); 556 wrapped_key_.clear();
557 IssueKeyRequest(); 557 IssueKeyRequest();
558 } 558 }
559 559
560 void SafeBrowsingProtocolManager::HandleGetHashError() { 560 void SafeBrowsingProtocolManager::HandleGetHashError() {
561 int next = GetNextBackOffTime(&gethash_error_count_, &gethash_back_off_mult_); 561 int next = GetNextBackOffTime(&gethash_error_count_, &gethash_back_off_mult_);
562 next_gethash_time_ = Time::Now() + TimeDelta::FromSeconds(next); 562 next_gethash_time_ = Time::Now() + TimeDelta::FromSeconds(next);
563 } 563 }
564
OLDNEW
« no previous file with comments | « chrome/browser/safe_browsing/protocol_manager.h ('k') | chrome/browser/safe_browsing/protocol_parser.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698