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

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

Issue 1060993003: [Extensions UI] Use developerPrivate API for profile configuration (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 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 8126d776fa91d074d360c56a947d2ad8c8a427ae..f29119b38d2aa19e83ef62307d907aa4ec153735 100644
--- a/chrome/browser/extensions/api/developer_private/developer_private_api.h
+++ b/chrome/browser/extensions/api/developer_private/developer_private_api.h
@@ -167,7 +167,7 @@ class DeveloperPrivateAPI : public BrowserContextKeyedAPI,
namespace api {
-class DeveloperPrivateAPIFunction : public UIThreadExtensionFunction {
+class DeveloperPrivateAPIFunction : public ChromeUIThreadExtensionFunction {
protected:
~DeveloperPrivateAPIFunction() override;
@@ -228,6 +228,28 @@ class DeveloperPrivateGetExtensionInfoFunction
ResponseAction Run() override;
};
+class DeveloperPrivateGetProfileConfigurationFunction
+ : public DeveloperPrivateAPIFunction {
+ public:
+ DECLARE_EXTENSION_FUNCTION("developerPrivate.getProfileConfiguration",
+ DEVELOPERPRIVATE_GETPROFILECONFIGURATION);
+
+ private:
+ ~DeveloperPrivateGetProfileConfigurationFunction() override;
+ ResponseAction Run() override;
+};
+
+class DeveloperPrivateUpdateProfileConfigurationFunction
+ : public DeveloperPrivateAPIFunction {
+ public:
+ DECLARE_EXTENSION_FUNCTION("developerPrivate.updateProfileConfiguration",
+ DEVELOPERPRIVATE_UPDATEPROFILECONFIGURATION);
+
+ private:
+ ~DeveloperPrivateUpdateProfileConfigurationFunction() override;
+ ResponseAction Run() override;
+};
+
class DeveloperPrivateUpdateExtensionConfigurationFunction
: public DeveloperPrivateAPIFunction {
public:
« 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