Index: chrome/browser/safe_browsing/srt_fetcher_win.cc |
diff --git a/chrome/browser/safe_browsing/srt_fetcher_win.cc b/chrome/browser/safe_browsing/srt_fetcher_win.cc |
index 66e4b5c9f3e9549ad56cd3d6b09710f5f8b3fd40..a64f4ab78c664de6f946e8da0c39399243b85581 100644 |
--- a/chrome/browser/safe_browsing/srt_fetcher_win.cc |
+++ b/chrome/browser/safe_browsing/srt_fetcher_win.cc |
@@ -51,7 +51,7 @@ void DisplaySRTPrompt(const base::FilePath& download_path) { |
// show the prompt this time and will wait until the next run of the |
// reporter. We can't use other ways of finding a browser because we don't |
// have a profile. |
- chrome::HostDesktopType desktop_type = chrome::GetActiveDesktop(); |
+ ui::HostDesktopType desktop_type = chrome::GetActiveDesktop(); |
Browser* browser = chrome::FindLastActiveWithHostDesktopType(desktop_type); |
if (!browser) |
return; |
@@ -323,7 +323,7 @@ class ReporterRunner : public chrome::BrowserListObserver { |
// a profile, which we need, to tell whether we should prompt or not. |
// TODO(mad): crbug.com/503269, investigate whether we should change how we |
// decide when it's time to download the SRT and when to display the prompt. |
- chrome::HostDesktopType desktop_type = chrome::GetActiveDesktop(); |
+ ui::HostDesktopType desktop_type = chrome::GetActiveDesktop(); |
Browser* browser = chrome::FindLastActiveWithHostDesktopType(desktop_type); |
if (!browser) { |
RecordReporterStepHistogram(SW_REPORTER_NO_BROWSER); |