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

Side by Side Diff: mojo/shell/public/cpp/lib/application_test_base.cc

Issue 1565343003: Move mojo/application/public -> mojo/shell/public (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@fetcher
Patch Set: . Created 4 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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 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 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 <utility> 5 #include <utility>
6 6
7 #include "base/command_line.h" 7 #include "base/command_line.h"
8 #include "base/strings/utf_string_conversions.h" 8 #include "base/strings/utf_string_conversions.h"
9 #include "mojo/application/public/cpp/application_impl.h"
10 #include "mojo/application/public/cpp/application_test_base.h"
11 #include "mojo/application/public/interfaces/application.mojom.h"
12 #include "mojo/public/cpp/bindings/binding.h" 9 #include "mojo/public/cpp/bindings/binding.h"
13 #include "mojo/public/cpp/environment/environment.h" 10 #include "mojo/public/cpp/environment/environment.h"
14 #include "mojo/public/cpp/system/message_pipe.h" 11 #include "mojo/public/cpp/system/message_pipe.h"
12 #include "mojo/shell/public/cpp/application_impl.h"
13 #include "mojo/shell/public/cpp/application_test_base.h"
14 #include "mojo/shell/public/interfaces/application.mojom.h"
15 15
16 namespace mojo { 16 namespace mojo {
17 namespace test { 17 namespace test {
18 18
19 namespace { 19 namespace {
20 // Share the application URL with multiple application tests. 20 // Share the application URL with multiple application tests.
21 String g_url; 21 String g_url;
22 22
23 // Application request handle passed from the shell in MojoMain, stored in 23 // Application request handle passed from the shell in MojoMain, stored in
24 // between SetUp()/TearDown() so we can (re-)intialize new ApplicationImpls. 24 // between SetUp()/TearDown() so we can (re-)intialize new ApplicationImpls.
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after
149 Environment::DestroyDefaultRunLoop(); 149 Environment::DestroyDefaultRunLoop();
150 } 150 }
151 151
152 bool ApplicationTestBase::ShouldCreateDefaultRunLoop() { 152 bool ApplicationTestBase::ShouldCreateDefaultRunLoop() {
153 return true; 153 return true;
154 } 154 }
155 155
156 156
157 } // namespace test 157 } // namespace test
158 } // namespace mojo 158 } // namespace mojo
OLDNEW
« no previous file with comments | « mojo/shell/public/cpp/lib/application_runner.cc ('k') | mojo/shell/public/cpp/lib/application_test_main.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698