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

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

Issue 165414: Disable an extension when it is upgraded to a version that requires more (Closed)
Patch Set: more comments Created 11 years, 4 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/extension_disabled_infobar_delegate.h
diff --git a/chrome/browser/extensions/extension_disabled_infobar_delegate.h b/chrome/browser/extensions/extension_disabled_infobar_delegate.h
new file mode 100644
index 0000000000000000000000000000000000000000..0c66ce9b63411756d831291d7284b075444ac468
--- /dev/null
+++ b/chrome/browser/extensions/extension_disabled_infobar_delegate.h
@@ -0,0 +1,19 @@
+// Copyright (c) 2009 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_DISABLED_INFOBAR_DELEGATE_H_
+#define CHROME_BROWSER_EXTENSIONS_EXTENSION_DISABLED_INFOBAR_DELEGATE_H_
+
+#include <string>
+
+class Extension;
+class ExtensionsService;
+class Profile;
+
+// Shows UI to inform the user that an extension was disabled after upgrading
+// to higher permissions.
+void ShowExtensionDisabledUI(ExtensionsService* service, Profile* profile,
+ Extension* extension);
+
+#endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_DISABLED_INFOBAR_DELEGATE_H_

Powered by Google App Engine
This is Rietveld 408576698