mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
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:
10
shell/browser/browser.h
Executable file → Normal file
10
shell/browser/browser.h
Executable file → Normal file
@@ -191,16 +191,16 @@ class Browser : public WindowListObserver {
|
||||
|
||||
// Resumes an activity via hand-off.
|
||||
bool ContinueUserActivity(const std::string& type,
|
||||
base::DictionaryValue user_info,
|
||||
base::DictionaryValue details);
|
||||
base::Value::Dict user_info,
|
||||
base::Value::Dict details);
|
||||
|
||||
// Indicates that an activity was continued on another device.
|
||||
void UserActivityWasContinued(const std::string& type,
|
||||
base::DictionaryValue user_info);
|
||||
base::Value::Dict user_info);
|
||||
|
||||
// Gives an opportunity to update the Handoff payload.
|
||||
bool UpdateUserActivityState(const std::string& type,
|
||||
base::DictionaryValue user_info);
|
||||
base::Value::Dict user_info);
|
||||
|
||||
// Bounce the dock icon.
|
||||
enum class BounceType{
|
||||
@@ -288,7 +288,7 @@ class Browser : public WindowListObserver {
|
||||
|
||||
// Tell the application the loading has been done.
|
||||
void WillFinishLaunching();
|
||||
void DidFinishLaunching(base::DictionaryValue launch_info);
|
||||
void DidFinishLaunching(base::Value::Dict launch_info);
|
||||
|
||||
void OnAccessibilitySupportChanged();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user