| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef WorkerNavigatorPermissions_h | 5 #ifndef WorkerNavigatorPermissions_h |
| 6 #define WorkerNavigatorPermissions_h | 6 #define WorkerNavigatorPermissions_h |
| 7 | 7 |
| 8 #include "core/workers/WorkerNavigator.h" | 8 #include "core/workers/WorkerNavigator.h" |
| 9 #include "platform/Supplementable.h" | 9 #include "platform/Supplementable.h" |
| 10 #include "platform/heap/Handle.h" | 10 #include "platform/heap/Handle.h" |
| (...skipping 10 matching lines...) Expand all Loading... |
| 21 | 21 |
| 22 public: | 22 public: |
| 23 static WorkerNavigatorPermissions& from(WorkerNavigator&); | 23 static WorkerNavigatorPermissions& from(WorkerNavigator&); |
| 24 static Permissions* permissions(WorkerNavigator&); | 24 static Permissions* permissions(WorkerNavigator&); |
| 25 | 25 |
| 26 DECLARE_VIRTUAL_TRACE(); | 26 DECLARE_VIRTUAL_TRACE(); |
| 27 | 27 |
| 28 private: | 28 private: |
| 29 static const char* supplementName(); | 29 static const char* supplementName(); |
| 30 | 30 |
| 31 WorkerNavigatorPermissions(); | 31 explicit WorkerNavigatorPermissions(WorkerNavigator&); |
| 32 | 32 |
| 33 Member<Permissions> m_permissions; | 33 Member<Permissions> m_permissions; |
| 34 }; | 34 }; |
| 35 | 35 |
| 36 } // namespace blink | 36 } // namespace blink |
| 37 | 37 |
| 38 #endif // WorkerNavigatorPermissions_h | 38 #endif // WorkerNavigatorPermissions_h |
| OLD | NEW |