#include "chrome/browser/plugins/chrome_plugin_service_filter.h"
#include <string>
#include "base/files/file_path.h"
#include "base/memory/raw_ptr.h"
#include "base/run_loop.h"
#include "base/strings/utf_string_conversions.h"
#include "chrome/browser/plugins/plugin_prefs.h"
#include "chrome/browser/profiles/profile.h"
#include "chrome/common/chrome_content_client.h"
#include "chrome/common/pref_names.h"
#include "chrome/test/base/chrome_render_view_host_test_harness.h"
#include "components/prefs/pref_service.h"
#include "content/public/browser/child_process_host.h"
#include "content/public/browser/render_process_host.h"
#include "content/public/browser/web_contents.h"
#include "content/public/common/webplugininfo.h"
#include "content/public/test/mock_render_process_host.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace {
class RenderProcessHostObserverAddedWaiter { … };
class ChromePluginServiceFilterTest : public ChromeRenderViewHostTestHarness { … };
content::WebPluginInfo GetFakePdfPluginInfo() { … }
}
TEST_F(ChromePluginServiceFilterTest, IsPluginAvailable) { … }
TEST_F(ChromePluginServiceFilterTest, IsPluginAvailableForInvalidProcess) { … }
TEST_F(ChromePluginServiceFilterTest, IsPluginAvailableForDisabledPlugin) { … }
TEST_F(ChromePluginServiceFilterTest, AuthorizePlugin) { … }