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

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

Issue 611733002: Mojo: Convert OVERRIDE -> override in mojo/{embedder,system}. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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 | « mojo/system/channel_unittest.cc ('k') | mojo/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_SYSTEM_CORE_TEST_BASE_H_ 5 #ifndef MOJO_SYSTEM_CORE_TEST_BASE_H_
6 #define MOJO_SYSTEM_CORE_TEST_BASE_H_ 6 #define MOJO_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"
11 #include "mojo/public/c/system/types.h" 11 #include "mojo/public/c/system/types.h"
12 #include "testing/gtest/include/gtest/gtest.h" 12 #include "testing/gtest/include/gtest/gtest.h"
13 13
14 namespace mojo { 14 namespace mojo {
15 namespace system { 15 namespace system {
16 16
17 class Core; 17 class Core;
18 18
19 namespace test { 19 namespace test {
20 20
21 class CoreTestBase_MockHandleInfo; 21 class CoreTestBase_MockHandleInfo;
22 22
23 class CoreTestBase : public testing::Test { 23 class CoreTestBase : public testing::Test {
24 public: 24 public:
25 typedef CoreTestBase_MockHandleInfo MockHandleInfo; 25 typedef CoreTestBase_MockHandleInfo MockHandleInfo;
26 26
27 CoreTestBase(); 27 CoreTestBase();
28 virtual ~CoreTestBase(); 28 virtual ~CoreTestBase();
29 29
30 virtual void SetUp() OVERRIDE; 30 virtual void SetUp() override;
31 virtual void TearDown() OVERRIDE; 31 virtual void TearDown() override;
32 32
33 protected: 33 protected:
34 // |info| must remain alive until the returned handle is closed. 34 // |info| must remain alive until the returned handle is closed.
35 MojoHandle CreateMockHandle(MockHandleInfo* info); 35 MojoHandle CreateMockHandle(MockHandleInfo* info);
36 36
37 Core* core() { return core_; } 37 Core* core() { return core_; }
38 38
39 private: 39 private:
40 Core* core_; 40 Core* core_;
41 41
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 unsigned cancel_all_waiters_call_count_; 96 unsigned cancel_all_waiters_call_count_;
97 97
98 DISALLOW_COPY_AND_ASSIGN(CoreTestBase_MockHandleInfo); 98 DISALLOW_COPY_AND_ASSIGN(CoreTestBase_MockHandleInfo);
99 }; 99 };
100 100
101 } // namespace test 101 } // namespace test
102 } // namespace system 102 } // namespace system
103 } // namespace mojo 103 } // namespace mojo
104 104
105 #endif // MOJO_SYSTEM_CORE_TEST_BASE_H_ 105 #endif // MOJO_SYSTEM_CORE_TEST_BASE_H_
OLDNEW
« no previous file with comments | « mojo/system/channel_unittest.cc ('k') | mojo/system/core_test_base.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698