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

Side by Side Diff: content/public/common/browser_plugin_guest_mode.h

Issue 1208143002: Move existing kSitePerProcess checks to a policy-oracle object (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@swapped_out_cmdline_checks
Patch Set: Attempt to fix compile. Created 5 years, 4 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 unified diff | Download patch
OLDNEW
(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_
OLDNEW
« no previous file with comments | « content/public/browser/site_instance.h ('k') | content/public/common/browser_plugin_guest_mode.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698