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

Unified Diff: chrome/browser/extensions/extensions_ui.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
« no previous file with comments | « chrome/browser/extensions/extensions_service.cc ('k') | chrome/browser/extensions/extensions_ui.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/extensions_ui.h
diff --git a/chrome/browser/extensions/extensions_ui.h b/chrome/browser/extensions/extensions_ui.h
index c92c2cad09a0b485ee9b5e06539a68e31d249cec..b63b12b6de99a5b9208842235142fc24038edd4f 100644
--- a/chrome/browser/extensions/extensions_ui.h
+++ b/chrome/browser/extensions/extensions_ui.h
@@ -57,7 +57,8 @@ class ExtensionsDOMHandler : public DOMMessageHandler {
// Extension Detail JSON Struct for page. (static for ease of testing).
static DictionaryValue* CreateExtensionDetailValue(
const Extension *extension,
- const std::vector<ExtensionPage>&);
+ const std::vector<ExtensionPage>&,
+ bool enabled);
// ContentScript JSON Struct for page. (static for ease of testing).
static DictionaryValue* CreateContentScriptDetailValue(
@@ -74,6 +75,9 @@ class ExtensionsDOMHandler : public DOMMessageHandler {
// Callback for "reload" message.
void HandleReloadMessage(const Value* value);
+ // Callback for "enable" message.
+ void HandleEnableMessage(const Value* value);
+
// Callback for "uninstall" message.
void HandleUninstallMessage(const Value* value);
« no previous file with comments | « chrome/browser/extensions/extensions_service.cc ('k') | chrome/browser/extensions/extensions_ui.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698