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..414559bdb25b0ea8c56dbce51fce5f06a1813610 |
--- /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_COMMON_BROWSER_GUEST_MODE_H_ |
lfg
2016/09/02 18:29:41
Fix include guards.
EhsanK
2016/09/02 21:01:06
Acknowledged.
|
+#define CONTENT_PUBLIC_COMMON_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 for |
+// BrowserPlugin-based MimeHandlerView to coexit with the rest of guests when |
+// they are OOPIF-based. This will be removed once https://crbug.com/642826 is |
+// fixed. |
+bool CONTENT_EXPORT IsCrossProcessFrameGuest(WebContents* web_contents); |
+ |
+} // namespace guest_mode |
+ |
+} // namespace content |
+ |
+#endif // CONTENT_PUBLIC_COMMON_BROWSER_GUEST_MODE_H_ |