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

Unified Diff: chrome/browser/sync/test/integration/typed_urls_helper.cc

Issue 562603002: Move PageTransition from //content/public/common to //ui/base (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 6 years, 3 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: chrome/browser/sync/test/integration/typed_urls_helper.cc
diff --git a/chrome/browser/sync/test/integration/typed_urls_helper.cc b/chrome/browser/sync/test/integration/typed_urls_helper.cc
index 01f5b946ffe728e9b52d1192ff25a2f198e448c5..027a6fc849039ae0930b1fc4b2fc12896eddaae7 100644
--- a/chrome/browser/sync/test/integration/typed_urls_helper.cc
+++ b/chrome/browser/sync/test/integration/typed_urls_helper.cc
@@ -156,7 +156,7 @@ void WaitForHistoryDBThread(int index) {
// type.
void AddToHistory(HistoryService* service,
const GURL& url,
- content::PageTransition transition,
+ ui::PageTransition transition,
history::VisitSource source,
const base::Time& timestamp) {
service->AddPage(url,
@@ -263,19 +263,19 @@ base::Time GetTimestamp() {
}
void AddUrlToHistory(int index, const GURL& url) {
- AddUrlToHistoryWithTransition(index, url, content::PAGE_TRANSITION_TYPED,
+ AddUrlToHistoryWithTransition(index, url, ui::PAGE_TRANSITION_TYPED,
history::SOURCE_BROWSED);
}
void AddUrlToHistoryWithTransition(int index,
const GURL& url,
- content::PageTransition transition,
+ ui::PageTransition transition,
history::VisitSource source) {
base::Time timestamp = GetTimestamp();
AddUrlToHistoryWithTimestamp(index, url, transition, source, timestamp);
}
void AddUrlToHistoryWithTimestamp(int index,
const GURL& url,
- content::PageTransition transition,
+ ui::PageTransition transition,
history::VisitSource source,
const base::Time& timestamp) {
AddToHistory(HistoryServiceFactory::GetForProfileWithoutCreating(
« no previous file with comments | « chrome/browser/sync/test/integration/typed_urls_helper.h ('k') | chrome/browser/task_manager/task_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698