Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(47)

Side by Side Diff: chrome/browser/extensions/ntp_overridden_bubble_delegate.cc

Issue 2206693002: Improve settings override bubble to indicate policy installed extensions (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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_macros.h" 7 #include "base/metrics/histogram_macros.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 114 matching lines...) Expand 10 before | Expand all | Expand 10 after
125 UMA_HISTOGRAM_ENUMERATION( 125 UMA_HISTOGRAM_ENUMERATION(
126 "ExtensionOverrideBubble.NtpOverriddenUserSelection", 126 "ExtensionOverrideBubble.NtpOverriddenUserSelection",
127 action, 127 action,
128 ExtensionMessageBubbleController::ACTION_BOUNDARY); 128 ExtensionMessageBubbleController::ACTION_BOUNDARY);
129 } 129 }
130 130
131 const char* NtpOverriddenBubbleDelegate::GetKey() { 131 const char* NtpOverriddenBubbleDelegate::GetKey() {
132 return "NtpOverriddenBubbleDelegate"; 132 return "NtpOverriddenBubbleDelegate";
133 } 133 }
134 134
135 bool NtpOverriddenBubbleDelegate::SupportsPolicyIndicator() {
136 return true;
137 }
138
135 } // namespace extensions 139 } // namespace extensions
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698