[Android] Implement 3-way sensor fallback for Device Orientation.
[chromium-blink-merge.git] / content / public / common / browser_plugin_guest_mode.cc
blobf9181c4d25c6f8cf359f28a5976f819c02d041f8
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.
5 #include "content/public/common/browser_plugin_guest_mode.h"
7 #include "base/command_line.h"
8 #include "content/public/common/content_switches.h"
10 namespace content {
12 // static
13 bool BrowserPluginGuestMode::UseCrossProcessFramesForGuests() {
14 return base::CommandLine::ForCurrentProcess()->HasSwitch(
15 switches::kSitePerProcess);
18 } // namespace content