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

Unified Diff: content/browser/mojo/renderer_capability_filter.cc

Issue 1775813002: Eliminate CapabilityFilter parameter from CreateInstance, instead reading it from the associated ma… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@41qual
Patch Set: . Created 4 years, 9 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
Index: content/browser/mojo/renderer_capability_filter.cc
diff --git a/content/browser/mojo/renderer_capability_filter.cc b/content/browser/mojo/renderer_capability_filter.cc
deleted file mode 100644
index c08f5e984ea768377d8da3d71b8c19011e6d5286..0000000000000000000000000000000000000000
--- a/content/browser/mojo/renderer_capability_filter.cc
+++ /dev/null
@@ -1,29 +0,0 @@
-// Copyright 2015 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#include <utility>
-
-#include "content/browser/mojo/mojo_shell_client_host.h"
-
-#if defined(MOJO_SHELL_CLIENT)
-#include "components/mus/public/interfaces/gpu.mojom.h"
-#endif
-
-namespace content {
-
-mojo::shell::mojom::CapabilityFilterPtr CreateCapabilityFilterForRenderer() {
- // See https://goo.gl/gkBtCR for a description of what this is and what to
- // think about when changing it.
- mojo::shell::mojom::CapabilityFilterPtr filter(
- mojo::shell::mojom::CapabilityFilter::New());
- filter->filter.SetToEmpty();
-#if defined(MOJO_SHELL_CLIENT)
- mojo::Array<mojo::String> window_manager_interfaces;
- window_manager_interfaces.push_back(mus::mojom::Gpu::Name_);
- filter->filter.insert("mojo:mus", std::move(window_manager_interfaces));
-#endif
- return filter;
-}
-
-} // namespace content

Powered by Google App Engine
This is Rietveld 408576698