Index: content/public/renderer/guest_mode.h |
diff --git a/content/public/renderer/guest_mode.h b/content/public/renderer/guest_mode.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..19f59f22247da22e86dac4a6654b614a9ae888da |
--- /dev/null |
+++ b/content/public/renderer/guest_mode.h |
@@ -0,0 +1,30 @@ |
+// 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_RENDERER_GUEST_MODE_H_ |
+#define CONTENT_PUBLIC_RENDERER_GUEST_MODE_H_ |
+ |
+#include "base/macros.h" |
+#include "content/common/content_export.h" |
+ |
+namespace content { |
+ |
+// TODO(ekaramad): This class is temporarily added to provide a workaround for |
+// allowing the existence of some guests based on browser plugin rather than |
+// cross process frames. It will be removed once the issue |
+// https://crbug.com/642826 is resolved. |
Charlie Reis
2016/09/23 05:21:26
Same: No need for this TODO, since we'll likely ke
EhsanK
2016/09/23 14:53:22
Acknowledged.
|
+class CONTENT_EXPORT GuestMode { |
+ public: |
+ // Returns true if guests could be using cross process frames. |
+ static bool UseCrossProcessFramesForGuests(); |
+ |
+ private: |
+ GuestMode(); |
+ |
+ DISALLOW_COPY_AND_ASSIGN(GuestMode); |
+}; |
+ |
+} // namespace content |
+ |
+#endif // CONTENT_PUBLIC_RENDERER_GUEST_MODE_H_ |