#include "chrome/renderer/extensions/renderer_permissions_policy_delegate.h"
#include <memory>
#include <utility>
#include <vector>
#include "base/command_line.h"
#include "base/test/task_environment.h"
#include "chrome/common/extensions/extension_constants.h"
#include "content/public/test/mock_render_process_host.h"
#include "content/public/test/mock_render_thread.h"
#include "extensions/common/constants.h"
#include "extensions/common/extension.h"
#include "extensions/common/extension_builder.h"
#include "extensions/common/permissions/permissions_data.h"
#include "extensions/renderer/dispatcher.h"
#include "extensions/renderer/extensions_renderer_api_provider.h"
#include "extensions/renderer/test_extensions_renderer_client.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace extensions {
namespace {
class RendererPermissionsPolicyDelegateTest : public testing::Test { … };
scoped_refptr<const Extension> CreateTestExtension(const std::string& id) { … }
}
TEST_F(RendererPermissionsPolicyDelegateTest, CannotScriptWebstore) { … }
}