| 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" |
| (...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 126 ExtensionMessageBubbleController::BubbleAction action) { | 126 ExtensionMessageBubbleController::BubbleAction action) { |
| 127 UMA_HISTOGRAM_ENUMERATION( | 127 UMA_HISTOGRAM_ENUMERATION( |
| 128 "ExtensionBubble.WipeoutUserSelection", | 128 "ExtensionBubble.WipeoutUserSelection", |
| 129 action, ExtensionMessageBubbleController::ACTION_BOUNDARY); | 129 action, ExtensionMessageBubbleController::ACTION_BOUNDARY); |
| 130 } | 130 } |
| 131 | 131 |
| 132 const char* SuspiciousExtensionBubbleDelegate::GetKey() { | 132 const char* SuspiciousExtensionBubbleDelegate::GetKey() { |
| 133 return "SuspiciousExtensionBubbleDelegate"; | 133 return "SuspiciousExtensionBubbleDelegate"; |
| 134 } | 134 } |
| 135 | 135 |
| 136 bool SuspiciousExtensionBubbleDelegate::SupportsPolicyIndicator() { |
| 137 return false; |
| 138 } |
| 139 |
| 136 } // namespace extensions | 140 } // namespace extensions |
| OLD | NEW |