Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Match Chrome User Agent in M-SEARCH SSDP packets #22140

Merged
merged 4 commits into from
Feb 21, 2024
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
/* Copyright (c) 2024 The Brave Authors. All rights reserved.
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this file,
* You can obtain one at https://mozilla.org/MPL/2.0/. */

#include "chrome/browser/media/router/discovery/dial/dial_service_impl.h"

#include "components/version_info/version_info.h"

namespace version_info {
constexpr std::string_view GetProductNameForChrome() {
return "Google Chrome";
}
} // namespace version_info

#define GetProductName GetProductNameForChrome
goodov marked this conversation as resolved.
Show resolved Hide resolved
#include "src/chrome/browser/media/router/discovery/dial/dial_service_impl.cc"
#undef GetProductName
Loading