diff options
author | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2020-07-16 11:45:35 +0200 |
---|---|---|
committer | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2020-07-17 08:59:23 +0000 |
commit | 552906b0f222c5d5dd11b9fd73829d510980461a (patch) | |
tree | 3a11e6ed0538a81dd83b20cf3a4783e297f26d91 /chromium/third_party/blink/renderer/modules/push_messaging/push_messaging_type_converters.cc | |
parent | 1b05827804eaf047779b597718c03e7d38344261 (diff) | |
download | qtwebengine-chromium-552906b0f222c5d5dd11b9fd73829d510980461a.tar.gz |
BASELINE: Update Chromium to 83.0.4103.122
Change-Id: Ie3a82f5bb0076eec2a7c6a6162326b4301ee291e
Reviewed-by: Michael BrĂ¼ning <michael.bruning@qt.io>
Diffstat (limited to 'chromium/third_party/blink/renderer/modules/push_messaging/push_messaging_type_converters.cc')
-rw-r--r-- | chromium/third_party/blink/renderer/modules/push_messaging/push_messaging_type_converters.cc | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/chromium/third_party/blink/renderer/modules/push_messaging/push_messaging_type_converters.cc b/chromium/third_party/blink/renderer/modules/push_messaging/push_messaging_type_converters.cc deleted file mode 100644 index 9452bd7648f..00000000000 --- a/chromium/third_party/blink/renderer/modules/push_messaging/push_messaging_type_converters.cc +++ /dev/null @@ -1,29 +0,0 @@ -// Copyright 2019 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. - -#include "third_party/blink/renderer/modules/push_messaging/push_messaging_type_converters.h" - -#include <string> -#include <utility> - -#include "third_party/blink/renderer/core/typed_arrays/dom_array_buffer.h" -#include "third_party/blink/renderer/modules/push_messaging/push_subscription_options.h" -#include "third_party/blink/renderer/platform/wtf/vector.h" - -namespace mojo { - -blink::mojom::blink::PushSubscriptionOptionsPtr TypeConverter< - blink::mojom::blink::PushSubscriptionOptionsPtr, - blink::PushSubscriptionOptions*>::Convert(blink::PushSubscriptionOptions* - input) { - Vector<uint8_t> application_server_key; - application_server_key.Append( - reinterpret_cast<uint8_t*>(input->applicationServerKey()->Data()), - input->applicationServerKey()->DeprecatedByteLengthAsUnsigned()); - - return blink::mojom::blink::PushSubscriptionOptions::New( - input->userVisibleOnly(), application_server_key); -} - -} // namespace mojo |