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

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

Issue 2165523004: Force MimeHandlerView to always use BrowserPlugin (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressing creis@'s comments 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.cc
diff --git a/content/public/common/browser_plugin_guest_mode.cc b/content/public/renderer/guest_mode.cc
similarity index 56%
rename from content/public/common/browser_plugin_guest_mode.cc
rename to content/public/renderer/guest_mode.cc
index 7c3986a3f2f0dccccd686c1fdc77c40e907051c0..aa60e0e8afe5d55dabb12031d6032431f88cf43f 100644
--- a/content/public/common/browser_plugin_guest_mode.cc
+++ b/content/public/renderer/guest_mode.cc
@@ -1,8 +1,8 @@
-// Copyright 2015 The Chromium Authors. All rights reserved.
+// 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.
-#include "content/public/common/browser_plugin_guest_mode.h"
+#include "content/public/renderer/guest_mode.h"
#include "base/command_line.h"
#include "content/public/common/content_switches.h"
@@ -10,9 +10,9 @@
namespace content {
// static
-bool BrowserPluginGuestMode::UseCrossProcessFramesForGuests() {
+bool GuestMode::UseCrossProcessFramesForGuests() {
return base::CommandLine::ForCurrentProcess()->HasSwitch(
- switches::kUseCrossProcessFramesForGuests);
+ switches::kUseCrossProcessFramesForGuests);
}
} // namespace content

Powered by Google App Engine
This is Rietveld 408576698