Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright 2016 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_RENDERER_GUEST_MODE_H_ | |
| 6 #define CONTENT_PUBLIC_RENDERER_GUEST_MODE_H_ | |
| 7 | |
| 8 #include "base/macros.h" | |
| 9 #include "content/common/content_export.h" | |
| 10 | |
| 11 namespace content { | |
| 12 | |
| 13 // TODO(ekaramad): This class is temporarily added to provide a workaround for | |
| 14 // allowing the existence of some guests based on browser plugin rather than | |
| 15 // cross process frames. It will be removed once the issue | |
| 16 // https://crbug.com/642826 is resolved. | |
|
Charlie Reis
2016/09/23 05:21:26
Same: No need for this TODO, since we'll likely ke
EhsanK
2016/09/23 14:53:22
Acknowledged.
| |
| 17 class CONTENT_EXPORT GuestMode { | |
| 18 public: | |
| 19 // Returns true if guests could be using cross process frames. | |
| 20 static bool UseCrossProcessFramesForGuests(); | |
| 21 | |
| 22 private: | |
| 23 GuestMode(); | |
| 24 | |
| 25 DISALLOW_COPY_AND_ASSIGN(GuestMode); | |
| 26 }; | |
| 27 | |
| 28 } // namespace content | |
| 29 | |
| 30 #endif // CONTENT_PUBLIC_RENDERER_GUEST_MODE_H_ | |
| OLD | NEW |