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

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

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.h
diff --git a/chrome/browser/safe_browsing/threat_details_history.h b/chrome/browser/safe_browsing/threat_details_history.h
index 34adfcd3da62ce849d2e781447f9833a51270d2b..c8d73e10fe4ba1bd200eb25ba6cff6ce0f932663 100644
--- a/chrome/browser/safe_browsing/threat_details_history.h
+++ b/chrome/browser/safe_browsing/threat_details_history.h
@@ -23,11 +23,11 @@
#include "content/public/browser/notification_registrar.h"
#include "net/base/completion_callback.h"
+class Profile;
+
namespace safe_browsing {
-typedef std::vector<GURL> RedirectChain;
-}
-class Profile;
+typedef std::vector<GURL> RedirectChain;
class ThreatDetailsRedirectsCollector
: public base::RefCountedThreadSafe<
@@ -47,7 +47,7 @@ class ThreatDetailsRedirectsCollector
bool HasStarted() const;
// Returns the redirect urls we get from history service
- const std::vector<safe_browsing::RedirectChain>& GetCollectedUrls() const;
+ const std::vector<RedirectChain>& GetCollectedUrls() const;
// content::NotificationObserver
void Observe(int type,
@@ -85,11 +85,13 @@ class ThreatDetailsRedirectsCollector
// The iterator goes over urls_
std::vector<GURL>::iterator urls_it_;
// The collected directs from history service
- std::vector<safe_browsing::RedirectChain> redirects_urls_;
+ std::vector<RedirectChain> redirects_urls_;
content::NotificationRegistrar registrar_;
DISALLOW_COPY_AND_ASSIGN(ThreatDetailsRedirectsCollector);
};
+} // namespace safe_browsing
+
#endif // CHROME_BROWSER_SAFE_BROWSING_THREAT_DETAILS_HISTORY_H_
« no previous file with comments | « chrome/browser/safe_browsing/threat_details_cache.cc ('k') | chrome/browser/safe_browsing/threat_details_history.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698