fix: settings not persisting across devtools loads (#33120)
* fix: settings not persisting across devtools loads * chore: remove redundant RegisterPreference impl
This commit is contained in:
parent
27527fe5ca
commit
373a905319
2 changed files with 5 additions and 119 deletions
|
@ -140,7 +140,7 @@ class InspectableWebContents
|
|||
const std::string& browser_id,
|
||||
const std::string& url) override;
|
||||
void RegisterPreference(const std::string& name,
|
||||
const RegisterOptions& options) override;
|
||||
const RegisterOptions& options) override {}
|
||||
void GetPreferences(DispatchCallback callback) override;
|
||||
void GetPreference(DispatchCallback callback,
|
||||
const std::string& name) override;
|
||||
|
@ -198,9 +198,6 @@ class InspectableWebContents
|
|||
|
||||
void SendMessageAck(int request_id, const base::Value* arg1);
|
||||
|
||||
const char* GetDictionaryNameForSettingsName(const std::string& name) const;
|
||||
const char* GetDictionaryNameForSyncedPrefs() const;
|
||||
|
||||
#if BUILDFLAG(ENABLE_ELECTRON_EXTENSIONS)
|
||||
void AddDevToolsExtensionsToClient();
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue