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

Side by Side Diff: webkit/support/test_webmessageportchannel.h

Issue 15937016: Update refernces to Blink's Platform API (webkit) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 #ifndef WEBKIT_SUPPORT_TEST_WEBMESSAGEPORTCHANNEL_H_ 5 #ifndef WEBKIT_SUPPORT_TEST_WEBMESSAGEPORTCHANNEL_H_
6 #define WEBKIT_SUPPORT_TEST_WEBMESSAGEPORTCHANNEL_H_ 6 #define WEBKIT_SUPPORT_TEST_WEBMESSAGEPORTCHANNEL_H_
7 7
8 #include <queue> 8 #include <queue>
9 9
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
11 #include "base/memory/ref_counted.h" 11 #include "base/memory/ref_counted.h"
12 #include "third_party/WebKit/Source/Platform/chromium/public/WebMessagePortChann el.h" 12 #include "third_party/WebKit/public/platform/WebMessagePortChannel.h"
13 13
14 namespace WebKit { 14 namespace WebKit {
15 class WebString; 15 class WebString;
16 } 16 }
17 17
18 class TestWebMessagePortChannel 18 class TestWebMessagePortChannel
19 : public WebKit::WebMessagePortChannel, 19 : public WebKit::WebMessagePortChannel,
20 public base::RefCounted<TestWebMessagePortChannel> { 20 public base::RefCounted<TestWebMessagePortChannel> {
21 public: 21 public:
22 TestWebMessagePortChannel(); 22 TestWebMessagePortChannel();
(...skipping 20 matching lines...) Expand all
43 void queueMessage(Message*); 43 void queueMessage(Message*);
44 44
45 WebKit::WebMessagePortChannelClient* client_; 45 WebKit::WebMessagePortChannelClient* client_;
46 scoped_refptr<TestWebMessagePortChannel> remote_; 46 scoped_refptr<TestWebMessagePortChannel> remote_;
47 std::queue<Message*> message_queue_; 47 std::queue<Message*> message_queue_;
48 48
49 DISALLOW_COPY_AND_ASSIGN(TestWebMessagePortChannel); 49 DISALLOW_COPY_AND_ASSIGN(TestWebMessagePortChannel);
50 }; 50 };
51 51
52 #endif 52 #endif
OLDNEW
« no previous file with comments | « webkit/support/test_webkit_platform_support.cc ('k') | webkit/support/test_webmessageportchannel.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698