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

Unified Diff: chrome/browser/extensions/api/developer_private/developer_private_api.h

Issue 997183005: [Extensions] Add a developerPrivate.updateExtensionConfiguration function (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 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 | « no previous file | chrome/browser/extensions/api/developer_private/developer_private_api.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/api/developer_private/developer_private_api.h
diff --git a/chrome/browser/extensions/api/developer_private/developer_private_api.h b/chrome/browser/extensions/api/developer_private/developer_private_api.h
index bcb06e5ca6da6092136f83e181b5a08e8b7cdaf1..b51873ec7c218ecbd10b2d1e6b76c2a0b45299b3 100644
--- a/chrome/browser/extensions/api/developer_private/developer_private_api.h
+++ b/chrome/browser/extensions/api/developer_private/developer_private_api.h
@@ -238,29 +238,14 @@ class DeveloperPrivateInspectFunction : public UIThreadExtensionFunction {
ResponseAction Run() override;
};
-class DeveloperPrivateAllowFileAccessFunction
+class DeveloperPrivateUpdateExtensionConfigurationFunction
: public DeveloperPrivateAPIFunction {
public:
- DECLARE_EXTENSION_FUNCTION("developerPrivate.allowFileAccess",
- DEVELOPERPRIVATE_ALLOWFILEACCESS);
+ DECLARE_EXTENSION_FUNCTION("developerPrivate.updateExtensionConfiguration",
+ DEVELOPERPRIVATE_UPDATEEXTENSIONCONFIGURATION);
protected:
- ~DeveloperPrivateAllowFileAccessFunction() override;
-
- // ExtensionFunction:
- ResponseAction Run() override;
-};
-
-class DeveloperPrivateAllowIncognitoFunction
- : public DeveloperPrivateAPIFunction {
- public:
- DECLARE_EXTENSION_FUNCTION("developerPrivate.allowIncognito",
- DEVELOPERPRIVATE_ALLOWINCOGNITO);
-
- protected:
- ~DeveloperPrivateAllowIncognitoFunction() override;
-
- // UIThreadExtensionFunction:
+ ~DeveloperPrivateUpdateExtensionConfigurationFunction() override;
ResponseAction Run() override;
};
« no previous file with comments | « no previous file | chrome/browser/extensions/api/developer_private/developer_private_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698