OLD | NEW |
(Empty) | |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef CONTENT_PUBLIC_COMMON_BROWSER_PLUGIN_GUEST_MODE_H_ |
| 6 #define CONTENT_PUBLIC_COMMON_BROWSER_PLUGIN_GUEST_MODE_H_ |
| 7 |
| 8 #include "base/basictypes.h" |
| 9 #include "content/common/content_export.h" |
| 10 |
| 11 namespace content { |
| 12 |
| 13 class CONTENT_EXPORT BrowserPluginGuestMode { |
| 14 public: |
| 15 // Returns true if inner WebContents should be implemented in terms of cross- |
| 16 // process iframes. TODO(lazyboy, nick): This should probably be a command |
| 17 // line flag separate from full site isolation (--site-per-process). |
| 18 static bool UseCrossProcessFramesForGuests(); |
| 19 |
| 20 private: |
| 21 BrowserPluginGuestMode(); // Not instantiable |
| 22 |
| 23 DISALLOW_COPY_AND_ASSIGN(BrowserPluginGuestMode); |
| 24 }; |
| 25 |
| 26 } // namespace |
| 27 |
| 28 #endif // CONTENT_PUBLIC_COMMON_BROWSER_PLUGIN_GUEST_MODE_H_ |
OLD | NEW |