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

Side by Side Diff: ipc/ipc_sync_channel_unittest.cc

Issue 2982009: Revert everything related to the relanding. (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: Created 10 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
« no previous file with comments | « ipc/ipc_channel_win.h ('k') | media/base/filters.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 // Unit test for SyncChannel. 5 // Unit test for SyncChannel.
6 6
7 #include <string> 7 #include <string>
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
11 #include "base/logging.h" 11 #include "base/logging.h"
12 #include "base/message_loop.h" 12 #include "base/message_loop.h"
13 #include "base/platform_thread.h" 13 #include "base/platform_thread.h"
14 #include "base/scoped_ptr.h"
15 #include "base/stl_util-inl.h" 14 #include "base/stl_util-inl.h"
16 #include "base/string_util.h" 15 #include "base/string_util.h"
17 #include "base/third_party/dynamic_annotations/dynamic_annotations.h" 16 #include "base/third_party/dynamic_annotations/dynamic_annotations.h"
18 #include "base/thread.h" 17 #include "base/thread.h"
19 #include "base/waitable_event.h" 18 #include "base/waitable_event.h"
20 #include "ipc/ipc_message.h" 19 #include "ipc/ipc_message.h"
21 #include "ipc/ipc_sync_channel.h" 20 #include "ipc/ipc_sync_channel.h"
22 #include "ipc/ipc_sync_message_filter.h" 21 #include "ipc/ipc_sync_message_filter.h"
23 #include "testing/gtest/include/gtest/gtest.h" 22 #include "testing/gtest/include/gtest/gtest.h"
24 23
(...skipping 1084 matching lines...) Expand 10 before | Expand all | Expand 10 after
1109 1108
1110 } // namespace 1109 } // namespace
1111 1110
1112 // Tests basic synchronous call 1111 // Tests basic synchronous call
1113 TEST_F(IPCSyncChannelTest, SyncMessageFilter) { 1112 TEST_F(IPCSyncChannelTest, SyncMessageFilter) {
1114 std::vector<Worker*> workers; 1113 std::vector<Worker*> workers;
1115 workers.push_back(new SyncMessageFilterServer()); 1114 workers.push_back(new SyncMessageFilterServer());
1116 workers.push_back(new SimpleClient()); 1115 workers.push_back(new SimpleClient());
1117 RunTest(workers); 1116 RunTest(workers);
1118 } 1117 }
OLDNEW
« no previous file with comments | « ipc/ipc_channel_win.h ('k') | media/base/filters.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698