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

Unified Diff: chrome/browser/signin/signin_header_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
« no previous file with comments | « chrome/browser/signin/signin_browsertest.cc ('k') | chrome/browser/signin/signin_ui_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/signin/signin_header_helper.cc
diff --git a/chrome/browser/signin/signin_header_helper.cc b/chrome/browser/signin/signin_header_helper.cc
index dd8437549d5890fa0dabb8c4c8fb53d5db9d9c0f..2e479e25a5056e12959da4cf4014d34cecd9aab2 100644
--- a/chrome/browser/signin/signin_header_helper.cc
+++ b/chrome/browser/signin/signin_header_helper.cc
@@ -155,7 +155,7 @@ void ProcessMirrorHeaderUIThread(
if (service_type == signin::GAIA_SERVICE_TYPE_INCOGNITO) {
web_contents->OpenURL(content::OpenURLParams(
GURL(chrome::kChromeUINativeNewTabURL), content::Referrer(),
- OFF_THE_RECORD, content::PAGE_TRANSITION_AUTO_TOPLEVEL, false));
+ OFF_THE_RECORD, ui::PAGE_TRANSITION_AUTO_TOPLEVEL, false));
} else {
AccountManagementScreenHelper::OpenAccountManagementScreen(
Profile::FromBrowserContext(web_contents->GetBrowserContext()),
@@ -258,7 +258,7 @@ void ProcessMirrorResponseHeaderIfExists(
content::ResourceRequestInfo::ForRequest(request);
if (!(info && info->IsMainFrame() &&
(info->HasUserGesture() ||
- !content::PageTransitionIsWebTriggerable(info->GetPageTransition()))))
+ !ui::PageTransitionIsWebTriggerable(info->GetPageTransition()))))
return;
std::string header_value;
« no previous file with comments | « chrome/browser/signin/signin_browsertest.cc ('k') | chrome/browser/signin/signin_ui_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698