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
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();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue