OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "chrome/browser/ui/webui/signin/login_ui_service.h" | 5 #include "chrome/browser/ui/webui/signin/login_ui_service.h" |
6 | 6 |
7 #include "chrome/browser/profiles/profile.h" | 7 #include "chrome/browser/profiles/profile.h" |
8 #include "chrome/browser/signin/signin_promo.h" | 8 #include "chrome/browser/signin/signin_promo.h" |
9 #include "chrome/browser/ui/browser.h" | 9 #include "chrome/browser/ui/browser.h" |
10 #include "chrome/browser/ui/browser_navigator.h" | |
11 #include "chrome/browser/ui/browser_window.h" | 10 #include "chrome/browser/ui/browser_window.h" |
12 #include "chrome/browser/ui/chrome_pages.h" | 11 #include "chrome/browser/ui/chrome_pages.h" |
13 #include "chrome/browser/ui/host_desktop.h" | 12 #include "chrome/browser/ui/host_desktop.h" |
14 #include "chrome/browser/ui/scoped_tabbed_browser_displayer.h" | 13 #include "chrome/browser/ui/scoped_tabbed_browser_displayer.h" |
15 #include "chrome/browser/ui/sync/inline_login_dialog.h" | 14 #include "chrome/browser/ui/sync/inline_login_dialog.h" |
16 #include "chrome/browser/ui/webui/signin/login_ui_service_factory.h" | 15 #include "chrome/browser/ui/webui/signin/login_ui_service_factory.h" |
17 #include "chrome/common/url_constants.h" | 16 #include "chrome/common/url_constants.h" |
18 #include "components/signin/core/browser/signin_header_helper.h" | 17 #include "components/signin/core/browser/signin_header_helper.h" |
19 #include "components/signin/core/common/profile_management_switches.h" | 18 #include "components/signin/core/common/profile_management_switches.h" |
20 | 19 |
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
91 // TODO(rogerta): Separate out the bubble API so we don't have to pass | 90 // TODO(rogerta): Separate out the bubble API so we don't have to pass |
92 // ignored |email| and |callback| params. | 91 // ignored |email| and |callback| params. |
93 BrowserWindow::StartSyncCallback()); | 92 BrowserWindow::StartSyncCallback()); |
94 #endif | 93 #endif |
95 } | 94 } |
96 } | 95 } |
97 | 96 |
98 const base::string16& LoginUIService::GetLastLoginResult() { | 97 const base::string16& LoginUIService::GetLastLoginResult() { |
99 return last_login_result_; | 98 return last_login_result_; |
100 } | 99 } |
OLD | NEW |