OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2012 Google Inc. All rights reserved. | 2 * Copyright (C) 2012 Google Inc. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
6 * met: | 6 * met: |
7 * | 7 * |
8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
(...skipping 673 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
684 virtual void requestPurgeMemory() {} | 684 virtual void requestPurgeMemory() {} |
685 | 685 |
686 // Feature Policy ----------------------------------------------------- | 686 // Feature Policy ----------------------------------------------------- |
687 | 687 |
688 // Create a new feature policy object for a document, given its parent | 688 // Create a new feature policy object for a document, given its parent |
689 // document's policy (may be nullptr), its container policy (may be empty), | 689 // document's policy (may be nullptr), its container policy (may be empty), |
690 // the header policy with which it was delivered (may be empty), and the | 690 // the header policy with which it was delivered (may be empty), and the |
691 // document's origin. | 691 // document's origin. |
692 virtual WebFeaturePolicy* createFeaturePolicy( | 692 virtual WebFeaturePolicy* createFeaturePolicy( |
693 const WebFeaturePolicy* parentPolicy, | 693 const WebFeaturePolicy* parentPolicy, |
694 const WebParsedFeaturePolicyHeader& containerPolicy, | 694 const WebParsedFeaturePolicy& containerPolicy, |
695 const WebParsedFeaturePolicyHeader& policyHeader, | 695 const WebParsedFeaturePolicy& policyHeader, |
696 const WebSecurityOrigin&) { | 696 const WebSecurityOrigin&) { |
697 return nullptr; | 697 return nullptr; |
698 } | 698 } |
699 | 699 |
700 // Create a new feature policy for a document whose origin has changed, given | 700 // Create a new feature policy for a document whose origin has changed, given |
701 // the previous policy object and the new origin. | 701 // the previous policy object and the new origin. |
702 virtual WebFeaturePolicy* duplicateFeaturePolicyWithOrigin( | 702 virtual WebFeaturePolicy* duplicateFeaturePolicyWithOrigin( |
703 const WebFeaturePolicy&, | 703 const WebFeaturePolicy&, |
704 const WebSecurityOrigin&) { | 704 const WebSecurityOrigin&) { |
705 return nullptr; | 705 return nullptr; |
706 } | 706 } |
707 | 707 |
708 protected: | 708 protected: |
709 Platform(); | 709 Platform(); |
710 virtual ~Platform() {} | 710 virtual ~Platform() {} |
711 | 711 |
712 WebThread* m_mainThread; | 712 WebThread* m_mainThread; |
713 }; | 713 }; |
714 | 714 |
715 } // namespace blink | 715 } // namespace blink |
716 | 716 |
717 #endif | 717 #endif |
OLD | NEW |