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

Side by Side Diff: mojo/edk/system/core_test_base.h

Issue 829853003: Fix some Windows compile issues. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 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
« no previous file with comments | « no previous file | mojo/edk/system/core_test_base.cc » ('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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 MOJO_EDK_SYSTEM_CORE_TEST_BASE_H_ 5 #ifndef MOJO_EDK_SYSTEM_CORE_TEST_BASE_H_
6 #define MOJO_EDK_SYSTEM_CORE_TEST_BASE_H_ 6 #define MOJO_EDK_SYSTEM_CORE_TEST_BASE_H_
7 7
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "base/macros.h" 9 #include "base/macros.h"
10 #include "base/synchronization/lock.h" 10 #include "base/synchronization/lock.h"
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 unsigned GetWriteDataCallCount() const; 56 unsigned GetWriteDataCallCount() const;
57 unsigned GetBeginWriteDataCallCount() const; 57 unsigned GetBeginWriteDataCallCount() const;
58 unsigned GetEndWriteDataCallCount() const; 58 unsigned GetEndWriteDataCallCount() const;
59 unsigned GetReadDataCallCount() const; 59 unsigned GetReadDataCallCount() const;
60 unsigned GetBeginReadDataCallCount() const; 60 unsigned GetBeginReadDataCallCount() const;
61 unsigned GetEndReadDataCallCount() const; 61 unsigned GetEndReadDataCallCount() const;
62 unsigned GetAddAwakableCallCount() const; 62 unsigned GetAddAwakableCallCount() const;
63 unsigned GetRemoveAwakableCallCount() const; 63 unsigned GetRemoveAwakableCallCount() const;
64 unsigned GetCancelAllAwakablesCallCount() const; 64 unsigned GetCancelAllAwakablesCallCount() const;
65 65
66 unsigned GetAddedAwakableSize() const; 66 size_t GetAddedAwakableSize() const;
67 Awakable* GetAddedAwakableAt(unsigned i) const; 67 Awakable* GetAddedAwakableAt(unsigned i) const;
68 68
69 // For use by |MockDispatcher|: 69 // For use by |MockDispatcher|:
70 void IncrementCtorCallCount(); 70 void IncrementCtorCallCount();
71 void IncrementDtorCallCount(); 71 void IncrementDtorCallCount();
72 void IncrementCloseCallCount(); 72 void IncrementCloseCallCount();
73 void IncrementWriteMessageCallCount(); 73 void IncrementWriteMessageCallCount();
74 void IncrementReadMessageCallCount(); 74 void IncrementReadMessageCallCount();
75 void IncrementWriteDataCallCount(); 75 void IncrementWriteDataCallCount();
76 void IncrementBeginWriteDataCallCount(); 76 void IncrementBeginWriteDataCallCount();
(...skipping 30 matching lines...) Expand all
107 std::vector<Awakable*> added_awakables_; 107 std::vector<Awakable*> added_awakables_;
108 108
109 DISALLOW_COPY_AND_ASSIGN(CoreTestBase_MockHandleInfo); 109 DISALLOW_COPY_AND_ASSIGN(CoreTestBase_MockHandleInfo);
110 }; 110 };
111 111
112 } // namespace test 112 } // namespace test
113 } // namespace system 113 } // namespace system
114 } // namespace mojo 114 } // namespace mojo
115 115
116 #endif // MOJO_EDK_SYSTEM_CORE_TEST_BASE_H_ 116 #endif // MOJO_EDK_SYSTEM_CORE_TEST_BASE_H_
OLDNEW
« no previous file with comments | « no previous file | mojo/edk/system/core_test_base.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698