chore: modernize ListValue usage in dict_util.mm and related files (#34661)
* chore: modernize ListValue usage in dict_util.mm and related files * use base::Value::{Dict,List} instead of raw base::Value * fix compile * fix build * fix build again
This commit is contained in:
parent
cd19a741b1
commit
11924bdbb2
14 changed files with 106 additions and 107 deletions
|
@ -96,7 +96,7 @@ class App : public ElectronBrowserClient::Delegate,
|
|||
void OnOpenURL(const std::string& url) override;
|
||||
void OnActivate(bool has_visible_windows) override;
|
||||
void OnWillFinishLaunching() override;
|
||||
void OnFinishLaunching(const base::DictionaryValue& launch_info) override;
|
||||
void OnFinishLaunching(base::Value::Dict launch_info) override;
|
||||
void OnAccessibilitySupportChanged() override;
|
||||
void OnPreMainMessageLoopRun() override;
|
||||
void OnPreCreateThreads() override;
|
||||
|
@ -107,15 +107,13 @@ class App : public ElectronBrowserClient::Delegate,
|
|||
const std::string& error) override;
|
||||
void OnContinueUserActivity(bool* prevent_default,
|
||||
const std::string& type,
|
||||
const base::DictionaryValue& user_info,
|
||||
const base::DictionaryValue& details) override;
|
||||
void OnUserActivityWasContinued(
|
||||
const std::string& type,
|
||||
const base::DictionaryValue& user_info) override;
|
||||
void OnUpdateUserActivityState(
|
||||
bool* prevent_default,
|
||||
const std::string& type,
|
||||
const base::DictionaryValue& user_info) override;
|
||||
base::Value::Dict user_info,
|
||||
base::Value::Dict details) override;
|
||||
void OnUserActivityWasContinued(const std::string& type,
|
||||
base::Value::Dict user_info) override;
|
||||
void OnUpdateUserActivityState(bool* prevent_default,
|
||||
const std::string& type,
|
||||
base::Value::Dict user_info) override;
|
||||
void OnNewWindowForTab() override;
|
||||
void OnDidBecomeActive() override;
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue