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

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

Issue 1877753003: Move mojo\shell to services\shell (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@62scan
Patch Set: . Created 4 years, 8 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/bind.h" 7 #include "base/bind.h"
8 #include "base/command_line.h" 8 #include "base/command_line.h"
9 #include "base/logging.h" 9 #include "base/logging.h"
10 #include "base/message_loop/message_loop.h" 10 #include "base/message_loop/message_loop.h"
11 #include "base/strings/utf_string_conversions.h" 11 #include "base/strings/utf_string_conversions.h"
12 #include "mojo/public/cpp/bindings/binding.h" 12 #include "mojo/public/cpp/bindings/binding.h"
13 #include "mojo/public/cpp/system/message_pipe.h" 13 #include "mojo/public/cpp/system/message_pipe.h"
14 #include "mojo/shell/public/cpp/application_test_base.h" 14 #include "services/shell/public/cpp/application_test_base.h"
15 #include "mojo/shell/public/cpp/shell_connection.h" 15 #include "services/shell/public/cpp/shell_connection.h"
16 #include "mojo/shell/public/interfaces/shell_client.mojom.h" 16 #include "services/shell/public/interfaces/shell_client.mojom.h"
17 17
18 namespace mojo { 18 namespace mojo {
19 namespace test { 19 namespace test {
20 20
21 namespace { 21 namespace {
22 22
23 // Share the application name with multiple application tests. 23 // Share the application name with multiple application tests.
24 shell::mojom::IdentityPtr g_identity; 24 shell::mojom::IdentityPtr g_identity;
25 uint32_t g_id = shell::mojom::kInvalidInstanceID; 25 uint32_t g_id = shell::mojom::kInvalidInstanceID;
26 26
(...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after
174 CHECK(!base::MessageLoop::current()); 174 CHECK(!base::MessageLoop::current());
175 } 175 }
176 } 176 }
177 177
178 bool ApplicationTestBase::ShouldCreateDefaultRunLoop() { 178 bool ApplicationTestBase::ShouldCreateDefaultRunLoop() {
179 return true; 179 return true;
180 } 180 }
181 181
182 } // namespace test 182 } // namespace test
183 } // namespace mojo 183 } // namespace mojo
OLDNEW
« no previous file with comments | « services/shell/public/cpp/lib/application_runner.cc ('k') | services/shell/public/cpp/lib/application_test_main.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698