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

Unified Diff: chrome/browser/safe_browsing/threat_details_history.cc

Issue 1420053005: Move code in components/safe_browsing_db and chrome/browser/s_b/ under the safe_browsing namespace. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@02_components_move
Patch Set: Remove '// namespace safe_browsing' for a small fwd decl block. Created 5 years, 1 month 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/safe_browsing/threat_details_history.cc
diff --git a/chrome/browser/safe_browsing/threat_details_history.cc b/chrome/browser/safe_browsing/threat_details_history.cc
index 28033996658e38e0db14fb75a506648692a4bb3c..5e20925c3453c13558623965b86316793e80890c 100644
--- a/chrome/browser/safe_browsing/threat_details_history.cc
+++ b/chrome/browser/safe_browsing/threat_details_history.cc
@@ -18,6 +18,8 @@
using content::BrowserThread;
+namespace safe_browsing {
+
ThreatDetailsRedirectsCollector::ThreatDetailsRedirectsCollector(
Profile* profile)
: profile_(profile), has_started_(false) {
@@ -50,7 +52,7 @@ bool ThreatDetailsRedirectsCollector::HasStarted() const {
return has_started_;
}
-const std::vector<safe_browsing::RedirectChain>&
+const std::vector<RedirectChain>&
ThreatDetailsRedirectsCollector::GetCollectedUrls() const {
return redirects_urls_;
}
@@ -124,3 +126,5 @@ void ThreatDetailsRedirectsCollector::AllDone() {
BrowserThread::PostTask(BrowserThread::IO, FROM_HERE, callback_);
callback_.Reset();
}
+
+} // namespace safe_browsing
« no previous file with comments | « chrome/browser/safe_browsing/threat_details_history.h ('k') | chrome/browser/safe_browsing/threat_details_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698