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

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

Issue 2165523004: Force MimeHandlerView to always use BrowserPlugin (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added the missing files 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/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_

Powered by Google App Engine
This is Rietveld 408576698