Index: content/public/common/browser_plugin_guest_mode.cc |
diff --git a/content/public/common/browser_plugin_guest_mode.cc b/content/public/common/browser_plugin_guest_mode.cc |
new file mode 100644 |
index 0000000000000000000000000000000000000000..f9181c4d25c6f8cf359f28a5976f819c02d041f8 |
--- /dev/null |
+++ b/content/public/common/browser_plugin_guest_mode.cc |
@@ -0,0 +1,18 @@ |
+// Copyright 2015 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. |
+ |
+#include "content/public/common/browser_plugin_guest_mode.h" |
+ |
+#include "base/command_line.h" |
+#include "content/public/common/content_switches.h" |
+ |
+namespace content { |
+ |
+// static |
+bool BrowserPluginGuestMode::UseCrossProcessFramesForGuests() { |
+ return base::CommandLine::ForCurrentProcess()->HasSwitch( |
+ switches::kSitePerProcess); |
+} |
+ |
+} // namespace content |