Correctly handle empty data in RenderMessageFilter::OnCacheableMetadataAvailable()
[chromium-blink-merge.git] / mojo / shell / capability_filter.cc
blobfa39449c50aac95d666c885338cf899f73a9c8ef
1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #include "mojo/shell/capability_filter.h"
7 namespace mojo {
8 namespace shell {
10 CapabilityFilter GetPermissiveCapabilityFilter() {
11 CapabilityFilter filter;
12 AllowedInterfaces interfaces;
13 interfaces.insert("*");
14 filter["*"] = interfaces;
15 return filter;
18 } // namespace shell
19 } // namespace mojo