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

Unified Diff: components/history/core/browser/history_types.cc

Issue 896093004: Cleanup usage of history namespace in components/history (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 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
Index: components/history/core/browser/history_types.cc
diff --git a/components/history/core/browser/history_types.cc b/components/history/core/browser/history_types.cc
index 72949b3fcd5803e9c8253fc04f85aef67b5cde71..60d424e324e35a9e04014b91fe520e3cd7c58aeb 100644
--- a/components/history/core/browser/history_types.cc
+++ b/components/history/core/browser/history_types.cc
@@ -245,31 +245,30 @@ HistoryAddPageArgs::HistoryAddPageArgs()
nullptr,
0,
GURL(),
- history::RedirectList(),
+ RedirectList(),
ui::PAGE_TRANSITION_LINK,
SOURCE_BROWSED,
false) {
}
-HistoryAddPageArgs::HistoryAddPageArgs(
- const GURL& url,
- base::Time time,
- ContextID context_id,
- int nav_entry_id,
- const GURL& referrer,
- const history::RedirectList& redirects,
- ui::PageTransition transition,
- VisitSource source,
- bool did_replace_entry)
- : url(url),
- time(time),
- context_id(context_id),
- nav_entry_id(nav_entry_id),
- referrer(referrer),
- redirects(redirects),
- transition(transition),
- visit_source(source),
- did_replace_entry(did_replace_entry) {
+HistoryAddPageArgs::HistoryAddPageArgs(const GURL& url,
+ base::Time time,
+ ContextID context_id,
+ int nav_entry_id,
+ const GURL& referrer,
+ const RedirectList& redirects,
+ ui::PageTransition transition,
+ VisitSource source,
+ bool did_replace_entry)
+ : url(url),
+ time(time),
+ context_id(context_id),
+ nav_entry_id(nav_entry_id),
+ referrer(referrer),
+ redirects(redirects),
+ transition(transition),
+ visit_source(source),
+ did_replace_entry(did_replace_entry) {
}
HistoryAddPageArgs::~HistoryAddPageArgs() {}
« no previous file with comments | « components/history/core/browser/history_types.h ('k') | components/history/core/browser/in_memory_url_index_types.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698