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

Side by Side Diff: third_party/WebKit/Source/modules/presentation/ExistingPresentationConnectionCallbacks.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 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 #include "modules/presentation/ExistingPresentationConnectionCallbacks.h" 5 #include "modules/presentation/ExistingPresentationConnectionCallbacks.h"
6 6
7 #include <memory>
7 #include "bindings/core/v8/ScriptPromiseResolver.h" 8 #include "bindings/core/v8/ScriptPromiseResolver.h"
8 #include "core/dom/DOMException.h" 9 #include "core/dom/DOMException.h"
9 #include "modules/presentation/PresentationConnection.h" 10 #include "modules/presentation/PresentationConnection.h"
10 #include "modules/presentation/PresentationError.h" 11 #include "modules/presentation/PresentationError.h"
12 #include "platform/wtf/PtrUtil.h"
11 #include "public/platform/modules/presentation/WebPresentationError.h" 13 #include "public/platform/modules/presentation/WebPresentationError.h"
12 #include "wtf/PtrUtil.h"
13 #include <memory>
14 14
15 namespace blink { 15 namespace blink {
16 16
17 ExistingPresentationConnectionCallbacks:: 17 ExistingPresentationConnectionCallbacks::
18 ExistingPresentationConnectionCallbacks(ScriptPromiseResolver* resolver, 18 ExistingPresentationConnectionCallbacks(ScriptPromiseResolver* resolver,
19 PresentationConnection* connection) 19 PresentationConnection* connection)
20 : resolver_(resolver), connection_(connection) { 20 : resolver_(resolver), connection_(connection) {
21 DCHECK(resolver_); 21 DCHECK(resolver_);
22 DCHECK(connection_); 22 DCHECK(connection_);
23 } 23 }
(...skipping 15 matching lines...) Expand all
39 const WebPresentationError& error) { 39 const WebPresentationError& error) {
40 NOTREACHED(); 40 NOTREACHED();
41 } 41 }
42 42
43 WebPresentationConnection* 43 WebPresentationConnection*
44 ExistingPresentationConnectionCallbacks::GetConnection() { 44 ExistingPresentationConnectionCallbacks::GetConnection() {
45 return connection_.Get(); 45 return connection_.Get();
46 } 46 }
47 47
48 } // namespace blink 48 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698