feat: flesh out the api for //extensions (#21587)
This commit is contained in:
parent
8bc0c92137
commit
fa42b5980e
10 changed files with 159 additions and 13 deletions
|
@ -96,7 +96,10 @@ class Session : public gin_helper::TrackableObject<Session>,
|
|||
#endif
|
||||
|
||||
#if BUILDFLAG(ENABLE_ELECTRON_EXTENSIONS)
|
||||
void LoadChromeExtension(const base::FilePath extension_path);
|
||||
v8::Local<v8::Promise> LoadExtension(const base::FilePath& extension_path);
|
||||
void RemoveExtension(const std::string& extension_id);
|
||||
v8::Local<v8::Value> GetExtension(const std::string& extension_id);
|
||||
v8::Local<v8::Value> GetAllExtensions();
|
||||
#endif
|
||||
|
||||
protected:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue