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_PASSWORD_MANAGER_SAVE_PASSWORD_INFOBAR_DELEGATE_H_ | 5 #ifndef CHROME_BROWSER_PASSWORD_MANAGER_SAVE_PASSWORD_INFOBAR_DELEGATE_H_ |
6 #define CHROME_BROWSER_PASSWORD_MANAGER_SAVE_PASSWORD_INFOBAR_DELEGATE_H_ | 6 #define CHROME_BROWSER_PASSWORD_MANAGER_SAVE_PASSWORD_INFOBAR_DELEGATE_H_ |
7 | 7 |
8 #include "base/basictypes.h" | 8 #include "base/macros.h" |
9 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
10 #include "base/timer/elapsed_timer.h" | 10 #include "base/timer/elapsed_timer.h" |
11 #include "chrome/browser/password_manager/password_manager_infobar_delegate.h" | 11 #include "chrome/browser/password_manager/password_manager_infobar_delegate.h" |
12 #include "components/infobars/core/confirm_infobar_delegate.h" | 12 #include "components/infobars/core/confirm_infobar_delegate.h" |
13 #include "components/password_manager/core/browser/password_form_manager.h" | 13 #include "components/password_manager/core/browser/password_form_manager.h" |
14 #include "components/password_manager/core/browser/password_manager_metrics_util
.h" | 14 #include "components/password_manager/core/browser/password_manager_metrics_util
.h" |
15 #include "ui/gfx/range/range.h" | 15 #include "ui/gfx/range/range.h" |
16 | 16 |
17 namespace content { | 17 namespace content { |
18 class WebContents; | 18 class WebContents; |
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
88 | 88 |
89 DISALLOW_COPY_AND_ASSIGN(SavePasswordInfoBarDelegate); | 89 DISALLOW_COPY_AND_ASSIGN(SavePasswordInfoBarDelegate); |
90 }; | 90 }; |
91 | 91 |
92 // Creates the platform-specific SavePassword InfoBar. This function is defined | 92 // Creates the platform-specific SavePassword InfoBar. This function is defined |
93 // in platform-specific .cc (or .mm) files. | 93 // in platform-specific .cc (or .mm) files. |
94 scoped_ptr<infobars::InfoBar> CreateSavePasswordInfoBar( | 94 scoped_ptr<infobars::InfoBar> CreateSavePasswordInfoBar( |
95 scoped_ptr<SavePasswordInfoBarDelegate> delegate); | 95 scoped_ptr<SavePasswordInfoBarDelegate> delegate); |
96 | 96 |
97 #endif // CHROME_BROWSER_PASSWORD_MANAGER_SAVE_PASSWORD_INFOBAR_DELEGATE_H_ | 97 #endif // CHROME_BROWSER_PASSWORD_MANAGER_SAVE_PASSWORD_INFOBAR_DELEGATE_H_ |
OLD | NEW |