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

Side by Side Diff: ipc/ipc_sync_channel_unittest.cc

Issue 1992005: Update dynamic annotations and move them to base/third_party (Closed)
Patch Set: rebased Created 10 years, 7 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 | « chrome/browser/sync/glue/ui_model_worker.cc ('k') | net/socket/tcp_pinger.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) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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/dynamic_annotations.h"
12 #include "base/logging.h" 11 #include "base/logging.h"
13 #include "base/message_loop.h" 12 #include "base/message_loop.h"
14 #include "base/platform_thread.h" 13 #include "base/platform_thread.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"
16 #include "base/third_party/dynamic_annotations/dynamic_annotations.h"
17 #include "base/thread.h" 17 #include "base/thread.h"
18 #include "base/waitable_event.h" 18 #include "base/waitable_event.h"
19 #include "ipc/ipc_message.h" 19 #include "ipc/ipc_message.h"
20 #include "ipc/ipc_sync_channel.h" 20 #include "ipc/ipc_sync_channel.h"
21 #include "ipc/ipc_sync_message_filter.h" 21 #include "ipc/ipc_sync_message_filter.h"
22 #include "testing/gtest/include/gtest/gtest.h" 22 #include "testing/gtest/include/gtest/gtest.h"
23 23
24 24
25 #define MESSAGES_INTERNAL_FILE "ipc/ipc_sync_message_unittest.h" 25 #define MESSAGES_INTERNAL_FILE "ipc/ipc_sync_message_unittest.h"
26 #include "ipc/ipc_message_macros.h" 26 #include "ipc/ipc_message_macros.h"
(...skipping 1081 matching lines...) Expand 10 before | Expand all | Expand 10 after
1108 1108
1109 } // namespace 1109 } // namespace
1110 1110
1111 // Tests basic synchronous call 1111 // Tests basic synchronous call
1112 TEST_F(IPCSyncChannelTest, SyncMessageFilter) { 1112 TEST_F(IPCSyncChannelTest, SyncMessageFilter) {
1113 std::vector<Worker*> workers; 1113 std::vector<Worker*> workers;
1114 workers.push_back(new SyncMessageFilterServer()); 1114 workers.push_back(new SyncMessageFilterServer());
1115 workers.push_back(new SimpleClient()); 1115 workers.push_back(new SimpleClient());
1116 RunTest(workers); 1116 RunTest(workers);
1117 } 1117 }
OLDNEW
« no previous file with comments | « chrome/browser/sync/glue/ui_model_worker.cc ('k') | net/socket/tcp_pinger.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698