OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 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/extensions/suspicious_extension_bubble_delegate.h" | 5 #include "chrome/browser/extensions/suspicious_extension_bubble_delegate.h" |
6 | 6 |
7 #include "base/lazy_instance.h" | 7 #include "base/lazy_instance.h" |
8 #include "base/metrics/histogram_macros.h" | 8 #include "base/metrics/histogram_macros.h" |
9 #include "base/strings/utf_string_conversions.h" | 9 #include "base/strings/utf_string_conversions.h" |
10 #include "chrome/browser/extensions/extension_service.h" | 10 #include "chrome/browser/extensions/extension_service.h" |
11 #include "chrome/browser/profiles/profile.h" | 11 #include "chrome/browser/profiles/profile.h" |
12 #include "chrome/browser/ui/browser.h" | 12 #include "chrome/browser/ui/browser.h" |
13 #include "chrome/common/url_constants.h" | 13 #include "chrome/common/url_constants.h" |
14 #include "chrome/grit/chromium_strings.h" | 14 #include "chrome/grit/chromium_strings.h" |
15 #include "chrome/grit/generated_resources.h" | 15 #include "chrome/grit/generated_resources.h" |
16 #include "components/strings/grit/components_strings.h" | |
17 #include "extensions/browser/extension_prefs.h" | 16 #include "extensions/browser/extension_prefs.h" |
18 #include "extensions/browser/extension_system.h" | 17 #include "extensions/browser/extension_system.h" |
19 #include "extensions/common/extension.h" | 18 #include "extensions/common/extension.h" |
20 #include "ui/base/l10n/l10n_util.h" | 19 #include "ui/base/l10n/l10n_util.h" |
21 | 20 |
22 using extensions::ExtensionMessageBubbleController; | 21 using extensions::ExtensionMessageBubbleController; |
23 | 22 |
24 namespace { | 23 namespace { |
25 | 24 |
26 // Whether the user has been notified about extension being wiped out. | 25 // Whether the user has been notified about extension being wiped out. |
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
135 | 134 |
136 const char* SuspiciousExtensionBubbleDelegate::GetKey() { | 135 const char* SuspiciousExtensionBubbleDelegate::GetKey() { |
137 return "SuspiciousExtensionBubbleDelegate"; | 136 return "SuspiciousExtensionBubbleDelegate"; |
138 } | 137 } |
139 | 138 |
140 bool SuspiciousExtensionBubbleDelegate::SupportsPolicyIndicator() { | 139 bool SuspiciousExtensionBubbleDelegate::SupportsPolicyIndicator() { |
141 return false; | 140 return false; |
142 } | 141 } |
143 | 142 |
144 } // namespace extensions | 143 } // namespace extensions |
OLD | NEW |