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

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

Issue 1548133002: Switch to standard integer types in chrome/browser/, part 3 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 // Implementation of the ThreatDetailsRedirectsCollector class. 5 // Implementation of the ThreatDetailsRedirectsCollector class.
6 6
7 #include "chrome/browser/safe_browsing/threat_details_history.h" 7 #include "chrome/browser/safe_browsing/threat_details_history.h"
8 8
9 #include <stddef.h>
10
9 #include "base/bind.h" 11 #include "base/bind.h"
10 #include "base/bind_helpers.h" 12 #include "base/bind_helpers.h"
11 #include "chrome/browser/chrome_notification_types.h" 13 #include "chrome/browser/chrome_notification_types.h"
12 #include "chrome/browser/history/history_service_factory.h" 14 #include "chrome/browser/history/history_service_factory.h"
13 #include "chrome/browser/profiles/profile.h" 15 #include "chrome/browser/profiles/profile.h"
14 #include "chrome/browser/safe_browsing/threat_details.h" 16 #include "chrome/browser/safe_browsing/threat_details.h"
15 #include "content/public/browser/browser_thread.h" 17 #include "content/public/browser/browser_thread.h"
16 #include "content/public/browser/notification_details.h" 18 #include "content/public/browser/notification_details.h"
17 #include "content/public/browser/notification_source.h" 19 #include "content/public/browser/notification_source.h"
18 20
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
121 GetRedirects(*urls_it_); 123 GetRedirects(*urls_it_);
122 } 124 }
123 125
124 void ThreatDetailsRedirectsCollector::AllDone() { 126 void ThreatDetailsRedirectsCollector::AllDone() {
125 DVLOG(1) << "AllDone"; 127 DVLOG(1) << "AllDone";
126 BrowserThread::PostTask(BrowserThread::IO, FROM_HERE, callback_); 128 BrowserThread::PostTask(BrowserThread::IO, FROM_HERE, callback_);
127 callback_.Reset(); 129 callback_.Reset();
128 } 130 }
129 131
130 } // namespace safe_browsing 132 } // namespace safe_browsing
OLDNEW
« no previous file with comments | « chrome/browser/safe_browsing/threat_details_cache.cc ('k') | chrome/browser/safe_browsing/threat_details_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698