#include "third_party/blink/renderer/modules/manifest/manifest_manager.h"
#include <string>
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/blink/public/platform/web_url.h"
#include "third_party/blink/renderer/core/dom/document.h"
#include "third_party/blink/renderer/core/frame/frame_test_helpers.h"
#include "third_party/blink/renderer/core/frame/web_local_frame_impl.h"
#include "third_party/blink/renderer/core/html/html_head_element.h"
#include "third_party/blink/renderer/core/html/html_link_element.h"
#include "third_party/blink/renderer/core/testing/page_test_base.h"
#include "third_party/blink/renderer/modules/manifest/manifest_change_notifier.h"
#include "third_party/blink/renderer/platform/heap/thread_state.h"
#include "third_party/blink/renderer/platform/testing/unit_test_helpers.h"
#include "third_party/blink/renderer/platform/testing/url_test_helpers.h"
#include "third_party/blink/renderer/platform/wtf/text/wtf_string.h"
namespace blink {
namespace {
void RegisterMockedURL(const std::string& base_url,
const std::string& file_name) { … }
}
class MockManifestChangeNotifier : public ManifestChangeNotifier { … };
class ManifestManagerTest : public PageTestBase { … };
TEST_F(ManifestManagerTest, ManifestURL) { … }
TEST_F(ManifestManagerTest, ManifestUseCredentials) { … }
class OverrideManifestChangeNotifierClient
: public frame_test_helpers::TestWebFrameClient { … };
TEST_F(ManifestManagerTest, NotifyManifestChange) { … }
}