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

Side by Side Diff: mojo/system/test_embedder.cc

Issue 139823003: Mojo: Move system embedder API files to mojo/system/embedder. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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 | « mojo/system/test_embedder.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #include "mojo/system/test_embedder.h"
6
7 #include "base/logging.h"
8 #include "mojo/system/core_impl.h"
9
10 namespace mojo {
11 namespace embedder {
12 namespace test {
13
14 void Shutdown() {
15 system::CoreImpl* core_impl = static_cast<system::CoreImpl*>(Core::Get());
16 CHECK(core_impl);
17 Core::Reset();
18
19 // TODO(vtl): Check for leaks, etc.
20
21 delete core_impl;
22 }
23
24 } // namespace test
25 } // namespace embedder
26 } // namespace mojo
OLDNEW
« no previous file with comments | « mojo/system/test_embedder.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698