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 #include "chrome/browser/password_manager/generated_password_saved_infobar_deleg
ate_android.h" | 5 #include "chrome/browser/password_manager/generated_password_saved_infobar_deleg
ate_android.h" |
6 | 6 |
7 #include <cstddef> | 7 #include <stddef.h> |
8 | 8 |
9 #include "base/strings/utf_string_conversions.h" | 9 #include "base/strings/utf_string_conversions.h" |
10 #include "chrome/browser/android/chrome_application.h" | 10 #include "chrome/browser/android/chrome_application.h" |
11 #include "chrome/browser/infobars/infobar_service.h" | 11 #include "chrome/browser/infobars/infobar_service.h" |
12 #include "chrome/browser/profiles/profile.h" | 12 #include "chrome/browser/profiles/profile.h" |
13 #include "chrome/browser/sync/profile_sync_service_factory.h" | 13 #include "chrome/browser/sync/profile_sync_service_factory.h" |
14 #include "chrome/grit/generated_resources.h" | 14 #include "chrome/grit/generated_resources.h" |
15 #include "chrome/grit/theme_resources.h" | 15 #include "chrome/grit/theme_resources.h" |
16 #include "components/browser_sync/browser/profile_sync_service.h" | 16 #include "components/browser_sync/browser/profile_sync_service.h" |
17 #include "components/password_manager/core/browser/password_bubble_experiment.h" | 17 #include "components/password_manager/core/browser/password_bubble_experiment.h" |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
61 } | 61 } |
62 | 62 |
63 infobars::InfoBarDelegate::Type | 63 infobars::InfoBarDelegate::Type |
64 GeneratedPasswordSavedInfoBarDelegateAndroid::GetInfoBarType() const { | 64 GeneratedPasswordSavedInfoBarDelegateAndroid::GetInfoBarType() const { |
65 return PAGE_ACTION_TYPE; | 65 return PAGE_ACTION_TYPE; |
66 } | 66 } |
67 | 67 |
68 int GeneratedPasswordSavedInfoBarDelegateAndroid::GetIconId() const { | 68 int GeneratedPasswordSavedInfoBarDelegateAndroid::GetIconId() const { |
69 return IDR_INFOBAR_SAVE_PASSWORD; | 69 return IDR_INFOBAR_SAVE_PASSWORD; |
70 } | 70 } |
OLD | NEW |