Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(203)

Side by Side Diff: third_party/WebKit/Source/modules/push_messaging/PushSubscriptionOptions.cpp

Issue 2801083003: Rewrite references to "wtf/" to "platform/wtf/" in modules. (Closed)
Patch Set: Rebase again^3. Will try landing directly. Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 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 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 #include "modules/push_messaging/PushSubscriptionOptions.h" 5 #include "modules/push_messaging/PushSubscriptionOptions.h"
6 6
7 #include "bindings/core/v8/ExceptionState.h" 7 #include "bindings/core/v8/ExceptionState.h"
8 #include "core/dom/DOMArrayBuffer.h" 8 #include "core/dom/DOMArrayBuffer.h"
9 #include "core/dom/ExceptionCode.h" 9 #include "core/dom/ExceptionCode.h"
10 #include "modules/push_messaging/PushSubscriptionOptionsInit.h" 10 #include "modules/push_messaging/PushSubscriptionOptionsInit.h"
11 #include "platform/wtf/Assertions.h"
12 #include "platform/wtf/text/WTFString.h"
11 #include "public/platform/WebString.h" 13 #include "public/platform/WebString.h"
12 #include "public/platform/modules/push_messaging/WebPushSubscriptionOptions.h" 14 #include "public/platform/modules/push_messaging/WebPushSubscriptionOptions.h"
13 #include "third_party/WebKit/Source/wtf/ASCIICType.h" 15 #include "third_party/WebKit/Source/wtf/ASCIICType.h"
14 #include "wtf/Assertions.h"
15 #include "wtf/text/WTFString.h"
16 16
17 namespace blink { 17 namespace blink {
18 namespace { 18 namespace {
19 19
20 const int kMaxApplicationServerKeyLength = 255; 20 const int kMaxApplicationServerKeyLength = 255;
21 21
22 String BufferSourceToString( 22 String BufferSourceToString(
23 const ArrayBufferOrArrayBufferView& application_server_key, 23 const ArrayBufferOrArrayBufferView& application_server_key,
24 ExceptionState& exception_state) { 24 ExceptionState& exception_state) {
25 unsigned char* input; 25 unsigned char* input;
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 : user_visible_only_(options.user_visible_only), 75 : user_visible_only_(options.user_visible_only),
76 application_server_key_( 76 application_server_key_(
77 DOMArrayBuffer::Create(options.application_server_key.Latin1().data(), 77 DOMArrayBuffer::Create(options.application_server_key.Latin1().data(),
78 options.application_server_key.length())) {} 78 options.application_server_key.length())) {}
79 79
80 DEFINE_TRACE(PushSubscriptionOptions) { 80 DEFINE_TRACE(PushSubscriptionOptions) {
81 visitor->Trace(application_server_key_); 81 visitor->Trace(application_server_key_);
82 } 82 }
83 83
84 } // namespace blink 84 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698