summaryrefslogtreecommitdiff
path: root/chromium/third_party/blink/renderer/modules/quota/quota_utils.cc
blob: eefaa669874273951fc8424f0198fd1a98abebd7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// Copyright 2018 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 "third_party/blink/renderer/modules/quota/quota_utils.h"

#include "third_party/blink/public/common/browser_interface_broker_proxy.h"
#include "third_party/blink/renderer/core/execution_context/execution_context.h"

namespace blink {

void ConnectToQuotaManagerHost(
    ExecutionContext* execution_context,
    mojo::PendingReceiver<mojom::blink::QuotaManagerHost> receiver) {
  execution_context->GetBrowserInterfaceBroker().GetInterface(
      std::move(receiver));
}

}  // namespace blink