| 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 #include "chrome/browser/ui/autofill/autofill_dialog_controller_impl.h" | 5 #include "chrome/browser/ui/autofill/autofill_dialog_controller_impl.h" |
| 6 | 6 |
| 7 #include <algorithm> | 7 #include <algorithm> |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/bind.h" | 10 #include "base/bind.h" |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 49 #include "content/public/browser/navigation_entry.h" | 49 #include "content/public/browser/navigation_entry.h" |
| 50 #include "content/public/browser/notification_service.h" | 50 #include "content/public/browser/notification_service.h" |
| 51 #include "content/public/browser/notification_types.h" | 51 #include "content/public/browser/notification_types.h" |
| 52 #include "content/public/browser/web_contents.h" | 52 #include "content/public/browser/web_contents.h" |
| 53 #include "content/public/browser/web_contents_view.h" | 53 #include "content/public/browser/web_contents_view.h" |
| 54 #include "content/public/common/url_constants.h" | 54 #include "content/public/common/url_constants.h" |
| 55 #include "grit/chromium_strings.h" | 55 #include "grit/chromium_strings.h" |
| 56 #include "grit/generated_resources.h" | 56 #include "grit/generated_resources.h" |
| 57 #include "grit/theme_resources.h" | 57 #include "grit/theme_resources.h" |
| 58 #include "grit/webkit_resources.h" | 58 #include "grit/webkit_resources.h" |
| 59 #include "net/base/cert_status_flags.h" | 59 #include "net/cert/cert_status_flags.h" |
| 60 #include "ui/base/l10n/l10n_util.h" | 60 #include "ui/base/l10n/l10n_util.h" |
| 61 #include "ui/base/resource/resource_bundle.h" | 61 #include "ui/base/resource/resource_bundle.h" |
| 62 #include "ui/gfx/canvas.h" | 62 #include "ui/gfx/canvas.h" |
| 63 #include "ui/gfx/color_utils.h" | 63 #include "ui/gfx/color_utils.h" |
| 64 #include "ui/gfx/skbitmap_operations.h" | 64 #include "ui/gfx/skbitmap_operations.h" |
| 65 | 65 |
| 66 namespace autofill { | 66 namespace autofill { |
| 67 | 67 |
| 68 namespace { | 68 namespace { |
| 69 | 69 |
| (...skipping 1677 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1747 AutofillMetrics::DIALOG_USER_SIGNED_IN_NO_WALLET_NO_AUTOFILL; | 1747 AutofillMetrics::DIALOG_USER_SIGNED_IN_NO_WALLET_NO_AUTOFILL; |
| 1748 } | 1748 } |
| 1749 | 1749 |
| 1750 // Has Wallet items. | 1750 // Has Wallet items. |
| 1751 return has_autofill_profiles ? | 1751 return has_autofill_profiles ? |
| 1752 AutofillMetrics::DIALOG_USER_SIGNED_IN_HAS_WALLET_HAS_AUTOFILL : | 1752 AutofillMetrics::DIALOG_USER_SIGNED_IN_HAS_WALLET_HAS_AUTOFILL : |
| 1753 AutofillMetrics::DIALOG_USER_SIGNED_IN_HAS_WALLET_NO_AUTOFILL; | 1753 AutofillMetrics::DIALOG_USER_SIGNED_IN_HAS_WALLET_NO_AUTOFILL; |
| 1754 } | 1754 } |
| 1755 | 1755 |
| 1756 } // namespace autofill | 1756 } // namespace autofill |
| OLD | NEW |