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

Unified Diff: chrome/browser/ui/views/tab_dialogs_views.cc

Issue 2148293003: Excluded non-chromeos source files in chromeos build (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed failed test Created 4 years, 5 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/ui/views/frame/browser_view.cc ('k') | chrome/chrome_browser_ui.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/tab_dialogs_views.cc
diff --git a/chrome/browser/ui/views/tab_dialogs_views.cc b/chrome/browser/ui/views/tab_dialogs_views.cc
index a00eead8482edb877cc4be0169182959ef67def0..9746c5f2c0554d4453be0ce2670c645af7ccd509 100644
--- a/chrome/browser/ui/views/tab_dialogs_views.cc
+++ b/chrome/browser/ui/views/tab_dialogs_views.cc
@@ -9,10 +9,13 @@
#include "chrome/browser/ui/views/collected_cookies_views.h"
#include "chrome/browser/ui/views/hung_renderer_view.h"
#include "chrome/browser/ui/views/passwords/manage_passwords_bubble_view.h"
-#include "chrome/browser/ui/views/sync/profile_signin_confirmation_dialog_views.h"
#include "chrome/browser/ui/views/validation_message_bubble_view.h"
#include "content/public/browser/web_contents.h"
+#if !defined(OS_CHROMEOS)
+#include "chrome/browser/ui/views/sync/profile_signin_confirmation_dialog_views.h"
+#endif
+
// static
void TabDialogs::CreateForWebContents(content::WebContents* contents) {
DCHECK(contents);
@@ -50,8 +53,12 @@ void TabDialogsViews::ShowProfileSigninConfirmation(
Profile* profile,
const std::string& username,
ui::ProfileSigninConfirmationDelegate* delegate) {
+#if !defined(OS_CHROMEOS)
ProfileSigninConfirmationDialogViews::ShowDialog(
browser, profile, username, delegate);
+#else
+ NOTREACHED();
+#endif
}
void TabDialogsViews::ShowManagePasswordsBubble(bool user_action) {
« no previous file with comments | « chrome/browser/ui/views/frame/browser_view.cc ('k') | chrome/chrome_browser_ui.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698