| Index: content/public/common/browser_plugin_guest_mode.h
|
| diff --git a/content/public/common/browser_plugin_guest_mode.h b/content/public/common/browser_plugin_guest_mode.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..21a487462da1de804c42d3a76d808f962da2b88e
|
| --- /dev/null
|
| +++ b/content/public/common/browser_plugin_guest_mode.h
|
| @@ -0,0 +1,29 @@
|
| +// Copyright 2015 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_COMMON_BROWSER_PLUGIN_GUEST_MODE_H_
|
| +#define CONTENT_PUBLIC_COMMON_BROWSER_PLUGIN_GUEST_MODE_H_
|
| +
|
| +#include "base/basictypes.h"
|
| +#include "content/common/content_export.h"
|
| +
|
| +namespace content {
|
| +
|
| +class CONTENT_EXPORT BrowserPluginGuestMode {
|
| + public:
|
| + // Returns true if <webview> should be implemented in terms of cross-process
|
| + // iframes.
|
| + // TODO(lazyboy, nick): This should probably be a command line flag separate
|
| + // from full site isolation (--site-per-process).
|
| + static bool UseCrossProcessFramesForGuests();
|
| +
|
| + private:
|
| + BrowserPluginGuestMode(); // Not instantiable
|
| +
|
| + DISALLOW_COPY_AND_ASSIGN(BrowserPluginGuestMode);
|
| +};
|
| +
|
| +} // namespace
|
| +
|
| +#endif // CONTENT_PUBLIC_COMMON_BROWSER_PLUGIN_GUEST_MODE_H_
|
|
|