1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef CONTENT_PUBLIC_COMMON_BROWSER_PLUGIN_GUEST_MODE_H_
6 #define CONTENT_PUBLIC_COMMON_BROWSER_PLUGIN_GUEST_MODE_H_
8 #include "base/basictypes.h"
9 #include "content/common/content_export.h"
13 class CONTENT_EXPORT BrowserPluginGuestMode
{
15 // Returns true if inner WebContents should be implemented in terms of cross-
16 // process iframes. TODO(lazyboy, nick): This should probably be a command
17 // line flag separate from full site isolation (--site-per-process).
18 static bool UseCrossProcessFramesForGuests();
21 BrowserPluginGuestMode(); // Not instantiable
23 DISALLOW_COPY_AND_ASSIGN(BrowserPluginGuestMode
);
28 #endif // CONTENT_PUBLIC_COMMON_BROWSER_PLUGIN_GUEST_MODE_H_