| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_COCOA_PASSWORDS_MANAGE_PASSWORDS_BUBBLE_AUTO_SIGNIN_VI
EW_CONTROLLER_H_ | 5 #ifndef CHROME_BROWSER_UI_COCOA_PASSWORDS_AUTO_SIGNIN_VIEW_CONTROLLER_H_ |
| 6 #define CHROME_BROWSER_UI_COCOA_PASSWORDS_MANAGE_PASSWORDS_BUBBLE_AUTO_SIGNIN_VI
EW_CONTROLLER_H_ | 6 #define CHROME_BROWSER_UI_COCOA_PASSWORDS_AUTO_SIGNIN_VIEW_CONTROLLER_H_ |
| 7 | 7 |
| 8 #import <Cocoa/Cocoa.h> | 8 #import <Cocoa/Cocoa.h> |
| 9 | 9 |
| 10 #include "base/mac/scoped_nsobject.h" | 10 #include "base/mac/scoped_nsobject.h" |
| 11 #include "base/memory/scoped_ptr.h" | 11 #include "base/memory/scoped_ptr.h" |
| 12 #import "chrome/browser/ui/cocoa/passwords/manage_passwords_bubble_content_view_
controller.h" | 12 #import "chrome/browser/ui/cocoa/passwords/base_passwords_content_view_controlle
r.h" |
| 13 | 13 |
| 14 @class AccountAvatarFetcherManager; | 14 @class AccountAvatarFetcherManager; |
| 15 @class CredentialItemView; | 15 @class CredentialItemView; |
| 16 class ManagePasswordsBubbleModel; | 16 class ManagePasswordsBubbleModel; |
| 17 | 17 |
| 18 namespace base { | 18 namespace base { |
| 19 class Timer; | 19 class Timer; |
| 20 } // namespace base | 20 } // namespace base |
| 21 | 21 |
| 22 // Manages the view that informs the user they're being automatically signed in. | 22 // Manages the view that informs the user they're being automatically signed in. |
| 23 @interface ManagePasswordsBubbleAutoSigninViewController | 23 @interface ManagePasswordsBubbleAutoSigninViewController |
| 24 : ManagePasswordsBubbleContentViewController { | 24 : ManagePasswordsBubbleContentViewController { |
| 25 @private | 25 @private |
| 26 ManagePasswordsBubbleModel* model_; // weak | 26 ManagePasswordsBubbleModel* model_; // weak |
| 27 base::scoped_nsobject<CredentialItemView> credentialView_; | 27 base::scoped_nsobject<CredentialItemView> credentialView_; |
| 28 base::scoped_nsobject<AccountAvatarFetcherManager> avatarManager_; | 28 base::scoped_nsobject<AccountAvatarFetcherManager> avatarManager_; |
| 29 scoped_ptr<base::Timer> timer_; | 29 scoped_ptr<base::Timer> timer_; |
| 30 } | 30 } |
| 31 - (id)initWithModel:(ManagePasswordsBubbleModel*)model | 31 - (id)initWithModel:(ManagePasswordsBubbleModel*)model |
| 32 delegate:(id<ManagePasswordsBubbleContentViewDelegate>)delegate; | 32 delegate:(id<ManagePasswordsBubbleContentViewDelegate>)delegate; |
| 33 @end | 33 @end |
| 34 | 34 |
| 35 #endif // CHROME_BROWSER_UI_COCOA_PASSWORDS_MANAGE_PASSWORDS_BUBBLE_AUTO_SIGNIN
_VIEW_CONTROLLER_H_ | 35 #endif // CHROME_BROWSER_UI_COCOA_PASSWORDS_AUTO_SIGNIN_VIEW_CONTROLLER_H_ |
| OLD | NEW |