Index: content/public/browser/guest_mode.h |
diff --git a/content/public/browser/guest_mode.h b/content/public/browser/guest_mode.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..de1a20ffe256ae631708069b0f4dff03f8fd3612 |
--- /dev/null |
+++ b/content/public/browser/guest_mode.h |
@@ -0,0 +1,27 @@ |
+// 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; |
+ |
+namespace guest_mode { |
+ |
+// TODO(ekaramad): This method is temporarily added to provide a workaround to |
Charlie Reis
2016/09/15 20:56:10
If we do end up removing UseCrossProcessFramesForG
EhsanK
2016/09/21 21:34:53
Acknowledged.
|
+// allow existence of some guests based on BrowserPlugin in scenarios where the |
+// other guests use out of process <iframe>s. It will be removed once the issue |
+// https://crbug.com/642826 is resolved. |
+bool CONTENT_EXPORT IsCrossProcessFrameGuest(WebContents* web_contents); |
+ |
+} // namespace guest_mode |
+ |
+} // namespace content |
+ |
+#endif // CONTENT_PUBLIC_BROWSER_GUEST_MODE_H_ |