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

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

Issue 1423713009: EDK: Move ref counting classes to mojo/edk/util. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 1 month 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/edk/system/core.cc ('k') | mojo/edk/system/data_pipe.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 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 #include "mojo/edk/system/core_test_base.h" 5 #include "mojo/edk/system/core_test_base.h"
6 6
7 #include <vector> 7 #include <vector>
8 8
9 #include "base/logging.h" 9 #include "base/logging.h"
10 #include "mojo/edk/system/configuration.h" 10 #include "mojo/edk/system/configuration.h"
11 #include "mojo/edk/system/core.h" 11 #include "mojo/edk/system/core.h"
12 #include "mojo/edk/system/dispatcher.h" 12 #include "mojo/edk/system/dispatcher.h"
13 #include "mojo/edk/system/memory.h" 13 #include "mojo/edk/system/memory.h"
14 #include "mojo/edk/system/ref_ptr.h" 14 #include "mojo/edk/util/ref_ptr.h"
15 #include "mojo/public/cpp/system/macros.h" 15 #include "mojo/public/cpp/system/macros.h"
16 16
17 using mojo::util::RefPtr;
18
17 namespace mojo { 19 namespace mojo {
18 namespace system { 20 namespace system {
19 namespace test { 21 namespace test {
20 22
21 namespace { 23 namespace {
22 24
23 // MockDispatcher -------------------------------------------------------------- 25 // MockDispatcher --------------------------------------------------------------
24 26
25 class MockDispatcher : public Dispatcher { 27 class MockDispatcher : public Dispatcher {
26 public: 28 public:
(...skipping 348 matching lines...) Expand 10 before | Expand all | Expand 10 after
375 } 377 }
376 378
377 void CoreTestBase_MockHandleInfo::AwakableWasAdded(Awakable* awakable) { 379 void CoreTestBase_MockHandleInfo::AwakableWasAdded(Awakable* awakable) {
378 MutexLocker locker(&mutex_); 380 MutexLocker locker(&mutex_);
379 added_awakables_.push_back(awakable); 381 added_awakables_.push_back(awakable);
380 } 382 }
381 383
382 } // namespace test 384 } // namespace test
383 } // namespace system 385 } // namespace system
384 } // namespace mojo 386 } // namespace mojo
OLDNEW
« no previous file with comments | « mojo/edk/system/core.cc ('k') | mojo/edk/system/data_pipe.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698