| Index: components/safe_browsing_db/v4_protocol_manager_util.cc
|
| diff --git a/components/safe_browsing_db/v4_protocol_manager_util.cc b/components/safe_browsing_db/v4_protocol_manager_util.cc
|
| index 857af33c6ee18da7ac3f0dee852285c0643c7bd6..7e0d95acf533a9c1497b386c920729dcaaa6caab 100644
|
| --- a/components/safe_browsing_db/v4_protocol_manager_util.cc
|
| +++ b/components/safe_browsing_db/v4_protocol_manager_util.cc
|
| @@ -496,4 +496,13 @@ void V4ProtocolManagerUtil::GeneratePathVariantsToCheck(
|
| paths->push_back(path + "?" + query);
|
| }
|
|
|
| +// static
|
| +void V4ProtocolManagerUtil::SetClientInfoFromConfig(
|
| + ClientInfo* client_info,
|
| + const V4ProtocolConfig& config) {
|
| + DCHECK(client_info);
|
| + client_info->set_client_id(config.client_name);
|
| + client_info->set_client_version(config.version);
|
| +}
|
| +
|
| } // namespace safe_browsing
|
|
|