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

Side by Side Diff: content/browser/websocket/websocket_blob_sender_unittest.cc

Issue 2119973002: Port WebSockets to Mojo IPC (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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 "content/browser/renderer_host/websocket_blob_sender.h" 5 #include "content/browser/renderer_host/websocket_blob_sender.h"
6 6
7 #include <string.h> 7 #include <string.h>
8 8
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/bind_helpers.h" 10 #include "base/bind_helpers.h"
(...skipping 430 matching lines...) Expand 10 before | Expand all | Expand 10 after
441 441
442 int rv = Start(handle->GetUUID(), message.size(), NotCalled()); 442 int rv = Start(handle->GetUUID(), message.size(), NotCalled());
443 EXPECT_EQ(net::OK, rv); 443 EXPECT_EQ(net::OK, rv);
444 std::vector<char> expected_message(message.begin(), message.end()); 444 std::vector<char> expected_message(message.begin(), message.end());
445 EXPECT_EQ(expected_message, synchronous_fake_channel_->message()); 445 EXPECT_EQ(expected_message, synchronous_fake_channel_->message());
446 } 446 }
447 447
448 } // namespace 448 } // namespace
449 449
450 } // namespace content 450 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698