#include "chrome/browser/background_fetch/background_fetch_permission_context.h"
#include <string>
#include "chrome/browser/content_settings/host_content_settings_map_factory.h"
#include "chrome/test/base/chrome_render_view_host_test_harness.h"
#include "chrome/test/base/testing_profile.h"
#include "components/content_settings/core/browser/host_content_settings_map.h"
#include "components/content_settings/core/common/content_settings.h"
#include "components/content_settings/core/common/content_settings_types.h"
#include "components/permissions/permission_util.h"
#include "content/public/browser/render_frame_host.h"
#include "content/public/browser/web_contents.h"
#include "content/public/test/web_contents_tester.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace {
class BackgroundFetchPermissionContextTest
: public ChromeRenderViewHostTestHarness { … };
TEST_F(BackgroundFetchPermissionContextTest, TestOutcomeAllowWithFrame) { … }
TEST_F(BackgroundFetchPermissionContextTest, TestOutcomeAllowWithoutFrame) { … }
TEST_F(BackgroundFetchPermissionContextTest, TestOutcomeDenyWithoutFrame) { … }
TEST_F(BackgroundFetchPermissionContextTest, TestOutcomePromptWithoutFrame) { … }
}