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

Unified Diff: chrome/browser/ui/sync/one_click_signin_sync_starter.cc

Issue 1336823003: Move chrome::HostDesktopType to ui::HostDesktopType (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@base_session_service_delegate_impl
Patch Set: Fix build on Mac and CrOS Created 5 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/ui/sync/one_click_signin_sync_starter.cc
diff --git a/chrome/browser/ui/sync/one_click_signin_sync_starter.cc b/chrome/browser/ui/sync/one_click_signin_sync_starter.cc
index a87c44c294417004894363ef1912794d14871c0f..a95449c48e0ed3f3749516a3298b15308f1944ed 100644
--- a/chrome/browser/ui/sync/one_click_signin_sync_starter.cc
+++ b/chrome/browser/ui/sync/one_click_signin_sync_starter.cc
@@ -85,7 +85,7 @@ OneClickSigninSyncStarter::OneClickSigninSyncStarter(
: content::WebContentsObserver(web_contents),
profile_(NULL),
start_mode_(start_mode),
- desktop_type_(chrome::HOST_DESKTOP_TYPE_NATIVE),
+ desktop_type_(ui::HOST_DESKTOP_TYPE_NATIVE),
confirmation_required_(confirmation_required),
continue_url_(continue_url),
sync_setup_completed_callback_(sync_setup_completed_callback),
@@ -277,7 +277,7 @@ void OneClickSigninSyncStarter::CreateNewSignedInProfile() {
}
void OneClickSigninSyncStarter::CompleteInitForNewProfile(
- chrome::HostDesktopType desktop_type,
+ ui::HostDesktopType desktop_type,
Profile* new_profile,
Profile::CreateStatus status) {
DCHECK_NE(profile_, new_profile);
@@ -493,7 +493,7 @@ void OneClickSigninSyncStarter::DisplayFinalConfirmationBubble(
Browser* OneClickSigninSyncStarter::EnsureBrowser(
Browser* browser,
Profile* profile,
- chrome::HostDesktopType desktop_type) {
+ ui::HostDesktopType desktop_type) {
if (!browser) {
// The user just created a new profile or has closed the browser that
// we used previously. Grab the most recently active browser or else

Powered by Google App Engine
This is Rietveld 408576698