chromium/third_party/blink/renderer/core/fileapi/public_url_manager_test.cc

// Copyright 2018 The Chromium Authors
// 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/core/fileapi/public_url_manager.h"

#include "mojo/public/cpp/bindings/associated_receiver.h"
#include "mojo/public/cpp/bindings/pending_remote.h"
#include "mojo/public/cpp/bindings/self_owned_receiver.h"
#include "net/base/features.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/blink/public/common/features.h"
#include "third_party/blink/renderer/core/fileapi/url_registry.h"
#include "third_party/blink/renderer/core/frame/csp/content_security_policy.h"
#include "third_party/blink/renderer/core/frame/local_dom_window.h"
#include "third_party/blink/renderer/core/testing/dummy_page_holder.h"
#include "third_party/blink/renderer/platform/blob/testing/fake_blob.h"
#include "third_party/blink/renderer/platform/blob/testing/fake_blob_url_store.h"
#include "third_party/blink/renderer/platform/heap/persistent.h"
#include "third_party/blink/renderer/platform/testing/task_environment.h"
#include "third_party/blink/renderer/platform/weborigin/security_origin.h"

namespace blink {
namespace {

BlobURLStore;

class TestURLRegistrable : public URLRegistrable {};

class FakeURLRegistry : public URLRegistry {};

}  // namespace

class PublicURLManagerTest : public testing::Test {};

TEST_F(PublicURLManagerTest, RegisterNonMojoBlob) {}

TEST_F(PublicURLManagerTest, RegisterMojoBlob) {}

TEST_F(PublicURLManagerTest, RevokeValidNonRegisteredURL) {}

TEST_F(PublicURLManagerTest, RevokeInvalidURL) {}

}  // namespace blink