| OLD | NEW |
| 1 // Copyright (c) 2014 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 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/extensions/ntp_overridden_bubble_delegate.h" | 5 #include "chrome/browser/extensions/ntp_overridden_bubble_delegate.h" |
| 6 | 6 |
| 7 #include "base/metrics/histogram.h" | 7 #include "base/metrics/histogram.h" |
| 8 #include "chrome/browser/extensions/extension_service.h" | 8 #include "chrome/browser/extensions/extension_service.h" |
| 9 #include "chrome/browser/extensions/extension_web_ui.h" | 9 #include "chrome/browser/extensions/extension_web_ui.h" |
| 10 #include "chrome/browser/profiles/profile.h" | 10 #include "chrome/browser/profiles/profile.h" |
| (...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 122 } | 122 } |
| 123 | 123 |
| 124 void NtpOverriddenBubbleDelegate::LogAction( | 124 void NtpOverriddenBubbleDelegate::LogAction( |
| 125 ExtensionMessageBubbleController::BubbleAction action) { | 125 ExtensionMessageBubbleController::BubbleAction action) { |
| 126 UMA_HISTOGRAM_ENUMERATION( | 126 UMA_HISTOGRAM_ENUMERATION( |
| 127 "ExtensionOverrideBubble.NtpOverriddenUserSelection", | 127 "ExtensionOverrideBubble.NtpOverriddenUserSelection", |
| 128 action, | 128 action, |
| 129 ExtensionMessageBubbleController::ACTION_BOUNDARY); | 129 ExtensionMessageBubbleController::ACTION_BOUNDARY); |
| 130 } | 130 } |
| 131 | 131 |
| 132 const char* NtpOverriddenBubbleDelegate::GetKey() { |
| 133 return "NtpOverriddenBubbleDelegate"; |
| 134 } |
| 135 |
| 132 } // namespace extensions | 136 } // namespace extensions |
| OLD | NEW |