| 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/extensions/proxy_overridden_bubble_delegate.h" | 5 #include "chrome/browser/extensions/proxy_overridden_bubble_delegate.h" |
| 6 | 6 |
| 7 #include "base/metrics/histogram_macros.h" | 7 #include "base/metrics/histogram_macros.h" |
| 8 #include "base/strings/utf_string_conversions.h" | 8 #include "base/strings/utf_string_conversions.h" |
| 9 #include "chrome/browser/extensions/extension_service.h" | 9 #include "chrome/browser/extensions/extension_service.h" |
| 10 #include "chrome/browser/extensions/settings_api_helpers.h" | 10 #include "chrome/browser/extensions/settings_api_helpers.h" |
| (...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 139 ExtensionMessageBubbleController::BubbleAction action) { | 139 ExtensionMessageBubbleController::BubbleAction action) { |
| 140 UMA_HISTOGRAM_ENUMERATION("ProxyOverriddenBubble.UserSelection", | 140 UMA_HISTOGRAM_ENUMERATION("ProxyOverriddenBubble.UserSelection", |
| 141 action, | 141 action, |
| 142 ExtensionMessageBubbleController::ACTION_BOUNDARY); | 142 ExtensionMessageBubbleController::ACTION_BOUNDARY); |
| 143 } | 143 } |
| 144 | 144 |
| 145 const char* ProxyOverriddenBubbleDelegate::GetKey() { | 145 const char* ProxyOverriddenBubbleDelegate::GetKey() { |
| 146 return "ProxyOverriddenBubbleDelegate"; | 146 return "ProxyOverriddenBubbleDelegate"; |
| 147 } | 147 } |
| 148 | 148 |
| 149 bool ProxyOverriddenBubbleDelegate::SupportsPolicyIndicator() { |
| 150 return true; |
| 151 } |
| 152 |
| 149 } // namespace extensions | 153 } // namespace extensions |
| OLD | NEW |