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

Unified Diff: components/history/core/browser/history_backend.h

Issue 2757003002: Untyped intranet URL check should examine the start and end of a redirect chain. (Closed)
Patch Set: Created 3 years, 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | components/history/core/browser/history_backend.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/history/core/browser/history_backend.h
diff --git a/components/history/core/browser/history_backend.h b/components/history/core/browser/history_backend.h
index 2a62a79deccf02c0276c3ab2b043e86708491a9f..026d1f3e4175f67b19ec3515853487b7affdfa7b 100644
--- a/components/history/core/browser/history_backend.h
+++ b/components/history/core/browser/history_backend.h
@@ -606,9 +606,12 @@ class HistoryBackend : public base::RefCountedThreadSafe<HistoryBackend>,
// at |cur_visit|.
void GetRedirectsToSpecificVisit(VisitID cur_visit, RedirectList* redirects);
- // Update the visit_duration information in visits table.
+ // Updates the visit_duration information in visits table.
void UpdateVisitDuration(VisitID visit_id, const base::Time end_ts);
+ // Returns whether |url| is on an untyped intranet host.
+ bool IsUntypedIntranetHost(const GURL& url);
+
// Querying ------------------------------------------------------------------
// Backends for QueryHistory. *Basic() handles queries that are not
« no previous file with comments | « no previous file | components/history/core/browser/history_backend.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698