| 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 DeveloperPrivate_h |
| 6 #define DeveloperPrivate_h |
| 7 |
| 8 #include "bindings/core/v8/ScriptWrappable.h" |
| 9 #include "extensions/common/api/mojo/developer_private.mojom-blink.h" |
| 10 #include "platform/heap/GarbageCollected.h" |
| 11 #include "platform/heap/Heap.h" |
| 12 |
| 13 namespace blink { |
| 14 |
| 15 class LocalFrame; |
| 16 class UpdateExtensionConfigurationParams; |
| 17 class VoidCallback; |
| 18 |
| 19 class DeveloperPrivate : public GarbageCollectedFinalized<DeveloperPrivate>, pub
lic ScriptWrappable { |
| 20 DEFINE_WRAPPERTYPEINFO(); |
| 21 |
| 22 public: |
| 23 DeveloperPrivate(LocalFrame*); |
| 24 virtual ~DeveloperPrivate() {} |
| 25 |
| 26 static DeveloperPrivate* create(LocalFrame* frame) |
| 27 { |
| 28 return new DeveloperPrivate(frame); |
| 29 } |
| 30 |
| 31 void updateExtensionConfiguration(UpdateExtensionConfigurationParams&, VoidC
allback*); |
| 32 void onUpdateExtensionConfigurationCallback(VoidCallback*); |
| 33 |
| 34 DECLARE_TRACE(); |
| 35 |
| 36 private: |
| 37 extensions::mojom::blink::DeveloperPrivatePtr m_developerPrivate; |
| 38 }; |
| 39 |
| 40 } // namespace blink |
| 41 |
| 42 #endif // DeveloperPrivate |
| OLD | NEW |