Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / content / public / common / browser_plugin_guest_mode.h
blobdd16ac3676807363903de6bfdaf782f9a80e3c84
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"
11 namespace content {
13 class CONTENT_EXPORT BrowserPluginGuestMode {
14 public:
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();
20 private:
21 BrowserPluginGuestMode(); // Not instantiable
23 DISALLOW_COPY_AND_ASSIGN(BrowserPluginGuestMode);
26 } // namespace
28 #endif // CONTENT_PUBLIC_COMMON_BROWSER_PLUGIN_GUEST_MODE_H_