Commit 362d353a authored by Chris Mumford's avatar Chris Mumford Committed by Commit Bot

Remove unused NetworkChangeManager interface handler.

GetNetworkChangeManager was incorrectly added in r577168 but was
never called. This change removes that vestigial code.

Bug: 836188
Change-Id: I618712829d04e94c1bb4e2c1d3fe5c16475daa6f
Reviewed-on: https://chromium-review.googlesource.com/c/1271556Reviewed-by: default avatarJohn Abd-El-Malek <jam@chromium.org>
Commit-Queue: Chris Mumford <cmumford@chromium.org>
Cr-Commit-Position: refs/heads/master@{#603261}
parent 2b715be1
...@@ -1228,12 +1228,6 @@ void CopyFeatureSwitch(const base::CommandLine& src, ...@@ -1228,12 +1228,6 @@ void CopyFeatureSwitch(const base::CommandLine& src,
dest->AppendSwitchASCII(switch_name, base::JoinString(features, ",")); dest->AppendSwitchASCII(switch_name, base::JoinString(features, ","));
} }
void GetNetworkChangeManager(
network::mojom::NetworkChangeManagerRequest request) {
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));
GetNetworkService()->GetNetworkChangeManager(std::move(request));
}
std::set<int>& GetCurrentCorbPluginExceptions() { std::set<int>& GetCurrentCorbPluginExceptions() {
static base::NoDestructor<std::set<int>> s_data; static base::NoDestructor<std::set<int>> s_data;
return *s_data; return *s_data;
...@@ -2290,9 +2284,6 @@ void RenderProcessHostImpl::RegisterMojoInterfaces() { ...@@ -2290,9 +2284,6 @@ void RenderProcessHostImpl::RegisterMojoInterfaces() {
registry->AddInterface(base::BindRepeating(&KeySystemSupportImpl::Create)); registry->AddInterface(base::BindRepeating(&KeySystemSupportImpl::Create));
#endif // BUILDFLAG(ENABLE_LIBRARY_CDMS) #endif // BUILDFLAG(ENABLE_LIBRARY_CDMS)
AddUIThreadInterface(registry.get(),
base::BindRepeating(&GetNetworkChangeManager));
AddUIThreadInterface( AddUIThreadInterface(
registry.get(), registry.get(),
base::BindRepeating(&RenderProcessHostImpl::BindVideoDecoderService, base::BindRepeating(&RenderProcessHostImpl::BindVideoDecoderService,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment