Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(433)

Unified Diff: content/public/browser/guest_mode.h

Issue 2165523004: Force MimeHandlerView to always use BrowserPlugin (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed a typo Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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_

Powered by Google App Engine
This is Rietveld 408576698