Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(7656)

Unified Diff: chrome/browser/search_engines/search_provider_install_state_impl.cc

Issue 2169243002: SearchProviderInstallStateImpl: remove dead code (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/search_engines/search_provider_install_state_impl.cc
diff --git a/chrome/browser/search_engines/search_provider_install_state_impl.cc b/chrome/browser/search_engines/search_provider_install_state_impl.cc
index 5871149eedc2e1c791b51f0bc9fc94fcc4a81579..3d9a9378133b7506dc941ce6c37b3bd2ebe54c11 100644
--- a/chrome/browser/search_engines/search_provider_install_state_impl.cc
+++ b/chrome/browser/search_engines/search_provider_install_state_impl.cc
@@ -36,17 +36,6 @@ SearchProviderInstallStateImpl::~SearchProviderInstallStateImpl() {
DCHECK_CURRENTLY_ON(BrowserThread::IO);
}
-// Register the given interface impl. The impl is owned by the host. Messages
-// will be dispatched on |task_runner| (or on the default task runner if not
-// given). The impl will also be deleted on |task_runner|.
-template <typename InterfaceImpl>
-void InstallService2(
- content::RenderProcessHost* host,
- std::unique_ptr<InterfaceImpl> impl,
- const scoped_refptr<base::SingleThreadTaskRunner>& task_runner = nullptr) {
- host->AddOwnedInterface(std::move(impl), task_runner);
-}
-
void SearchProviderInstallStateImpl::Bind(
chrome::mojom::SearchProviderInstallStateRequest request) {
binding_set_.AddBinding(this, std::move(request));
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698