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

Unified Diff: chrome/browser/extensions/management_policy.h

Issue 10542023: Disable modifying extensions when in managed mode. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Bernhard's comments Created 8 years, 6 months 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/extensions/management_policy.h
===================================================================
--- chrome/browser/extensions/management_policy.h (revision 142678)
+++ chrome/browser/extensions/management_policy.h (working copy)
@@ -46,7 +46,9 @@
virtual ~Provider() {}
// A human-readable name for this provider, for use in debug messages.
- virtual std::string GetPolicyProviderName() const = 0;
+ // Implementers should return an empty string in non-debug builds, to save
+ // executable size.
+ virtual std::string GetDebugPolicyProviderName() const = 0;
// Providers should return false if a user may not install the |extension|,
// or load or run it if it has already been installed.

Powered by Google App Engine
This is Rietveld 408576698