blob: 47dd5e33b452cc06af068369ffe8e5b8688bb748 [file] [log] [blame]
// Copyright 2016 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CONTENT_PUBLIC_BROWSER_GUEST_MODE_H_
#define CONTENT_PUBLIC_BROWSER_GUEST_MODE_H_
#include "base/macros.h"
#include "content/common/content_export.h"
namespace content {
class WebContents;
class CONTENT_EXPORT GuestMode {
public:
// Returns true if |web_contents| is an inner WebContents based on cross
// process frames.
static bool IsCrossProcessFrameGuest(const WebContents* web_contents);
private:
GuestMode();
DISALLOW_COPY_AND_ASSIGN(GuestMode);
};
} // namespace content
#endif // CONTENT_PUBLIC_BROWSER_GUEST_MODE_H_