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

Side by Side Diff: chrome_frame/test/proxy_factory_mock.cc

Issue 5977010: Move CancellationFlag and WaitableEvent to the synchronization subdirectory.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 11 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
« no previous file with comments | « chrome_frame/external_tab_test.cc ('k') | ipc/ipc_sync_channel.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-2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-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 #include "base/waitable_event.h" 4 #include "base/synchronization/waitable_event.h"
5 #include "chrome_frame/test/proxy_factory_mock.h" 5 #include "chrome_frame/test/proxy_factory_mock.h"
6 6
7 #define GMOCK_MUTANT_INCLUDE_LATE_OBJECT_BINDING 7 #define GMOCK_MUTANT_INCLUDE_LATE_OBJECT_BINDING
8 #include "testing/gmock_mutant.h" 8 #include "testing/gmock_mutant.h"
9 9
10 using testing::CreateFunctor; 10 using testing::CreateFunctor;
11 using testing::_; 11 using testing::_;
12 12
13 DISABLE_RUNNABLE_METHOD_REFCOUNT(MockProxyFactory); 13 DISABLE_RUNNABLE_METHOD_REFCOUNT(MockProxyFactory);
14 14
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
118 void* i2 = NULL; 118 void* i2 = NULL;
119 f.GetAutomationServer(d2, params, &i2); 119 f.GetAutomationServer(d2, params, &i2);
120 EXPECT_EQ(i1, i2); 120 EXPECT_EQ(i1, i2);
121 f.ReleaseAutomationServer(i2, d2); 121 f.ReleaseAutomationServer(i2, d2);
122 delete d2; 122 delete d2;
123 123
124 ::SetThreadPriority(::GetCurrentThread(), THREAD_PRIORITY_NORMAL); 124 ::SetThreadPriority(::GetCurrentThread(), THREAD_PRIORITY_NORMAL);
125 f.ReleaseAutomationServer(i1, d1); 125 f.ReleaseAutomationServer(i1, d1);
126 delete d1; 126 delete d1;
127 } 127 }
OLDNEW
« no previous file with comments | « chrome_frame/external_tab_test.cc ('k') | ipc/ipc_sync_channel.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698