refactor: remove deprecated GetAs methods (#13425)
* refactor: remove deprecated GetAs methods * restructure URLRequestAsyncAsarJob on win * fix: add string conversion header
This commit is contained in:
parent
fa0704665f
commit
003a92e099
6 changed files with 22 additions and 20 deletions
|
@ -25,7 +25,7 @@ void URLRequestStringJob::StartAsync(std::unique_ptr<base::Value> options) {
|
|||
dict->GetString("charset", &charset_);
|
||||
dict->GetString("data", &data_);
|
||||
} else if (options->is_string()) {
|
||||
options->GetAsString(&data_);
|
||||
data_ = options->GetString();
|
||||
}
|
||||
net::URLRequestSimpleJob::Start();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue