| Index: third_party/WebKit/Source/modules/extensions/DeveloperPrivate.h
|
| diff --git a/third_party/WebKit/Source/modules/extensions/DeveloperPrivate.h b/third_party/WebKit/Source/modules/extensions/DeveloperPrivate.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..6a6e723dd790dc057100202c3fb034f234bcf2b0
|
| --- /dev/null
|
| +++ b/third_party/WebKit/Source/modules/extensions/DeveloperPrivate.h
|
| @@ -0,0 +1,42 @@
|
| +// Copyright 2016 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#ifndef DeveloperPrivate_h
|
| +#define DeveloperPrivate_h
|
| +
|
| +#include "bindings/core/v8/ScriptWrappable.h"
|
| +#include "extensions/common/api/mojo/developer_private.mojom-blink.h"
|
| +#include "platform/heap/GarbageCollected.h"
|
| +#include "platform/heap/Heap.h"
|
| +
|
| +namespace blink {
|
| +
|
| +class LocalFrame;
|
| +class UpdateExtensionConfigurationParams;
|
| +class VoidCallback;
|
| +
|
| +class DeveloperPrivate : public GarbageCollectedFinalized<DeveloperPrivate>, public ScriptWrappable {
|
| + DEFINE_WRAPPERTYPEINFO();
|
| +
|
| +public:
|
| + DeveloperPrivate(LocalFrame*);
|
| + virtual ~DeveloperPrivate() {}
|
| +
|
| + static DeveloperPrivate* create(LocalFrame* frame)
|
| + {
|
| + return new DeveloperPrivate(frame);
|
| + }
|
| +
|
| + void updateExtensionConfiguration(UpdateExtensionConfigurationParams&, VoidCallback*);
|
| + void onUpdateExtensionConfigurationCallback(VoidCallback*);
|
| +
|
| + DECLARE_TRACE();
|
| +
|
| +private:
|
| + extensions::mojom::blink::DeveloperPrivatePtr m_developerPrivate;
|
| +};
|
| +
|
| +} // namespace blink
|
| +
|
| +#endif // DeveloperPrivate
|
|
|