| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 #ifndef CHROME_BROWSER_UI_WEBUI_SIGNIN_INLINE_LOGIN_HANDLER_IMPL_H_ | 5 #ifndef CHROME_BROWSER_UI_WEBUI_SIGNIN_INLINE_LOGIN_HANDLER_IMPL_H_ |
| 6 #define CHROME_BROWSER_UI_WEBUI_SIGNIN_INLINE_LOGIN_HANDLER_IMPL_H_ | 6 #define CHROME_BROWSER_UI_WEBUI_SIGNIN_INLINE_LOGIN_HANDLER_IMPL_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/files/file_path.h" | 10 #include "base/files/file_path.h" |
| 11 #include "base/gtest_prod_util.h" |
| 11 #include "base/memory/scoped_ptr.h" | 12 #include "base/memory/scoped_ptr.h" |
| 12 #include "base/memory/weak_ptr.h" | 13 #include "base/memory/weak_ptr.h" |
| 13 #include "chrome/browser/ui/sync/one_click_signin_sync_starter.h" | 14 #include "chrome/browser/ui/sync/one_click_signin_sync_starter.h" |
| 14 #include "chrome/browser/ui/webui/signin/inline_login_handler.h" | 15 #include "chrome/browser/ui/webui/signin/inline_login_handler.h" |
| 15 | 16 |
| 16 // Implementation for the inline login WebUI handler on desktop Chrome. Once | 17 // Implementation for the inline login WebUI handler on desktop Chrome. Once |
| 17 // CrOS migrates to the same webview approach as desktop Chrome, much of the | 18 // CrOS migrates to the same webview approach as desktop Chrome, much of the |
| 18 // code in this class should move to its base class |InlineLoginHandler|. | 19 // code in this class should move to its base class |InlineLoginHandler|. |
| 19 class InlineLoginHandlerImpl : public InlineLoginHandler, | 20 class InlineLoginHandlerImpl : public InlineLoginHandler, |
| 20 public content::WebContentsObserver { | 21 public content::WebContentsObserver { |
| (...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 114 // True if the user has navigated to untrusted domains during the signin | 115 // True if the user has navigated to untrusted domains during the signin |
| 115 // process. | 116 // process. |
| 116 bool confirm_untrusted_signin_; | 117 bool confirm_untrusted_signin_; |
| 117 | 118 |
| 118 base::WeakPtrFactory<InlineLoginHandlerImpl> weak_factory_; | 119 base::WeakPtrFactory<InlineLoginHandlerImpl> weak_factory_; |
| 119 | 120 |
| 120 DISALLOW_COPY_AND_ASSIGN(InlineLoginHandlerImpl); | 121 DISALLOW_COPY_AND_ASSIGN(InlineLoginHandlerImpl); |
| 121 }; | 122 }; |
| 122 | 123 |
| 123 #endif // CHROME_BROWSER_UI_WEBUI_SIGNIN_INLINE_LOGIN_HANDLER_IMPL_H_ | 124 #endif // CHROME_BROWSER_UI_WEBUI_SIGNIN_INLINE_LOGIN_HANDLER_IMPL_H_ |
| OLD | NEW |