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

Unified Diff: services/shell/runner/child/native_apptest.cc

Issue 1882423004: Move shell service to toplevel shell namespace (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase 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 side-by-side diff with in-line comments
Download patch
Index: services/shell/runner/child/native_apptest.cc
diff --git a/services/shell/runner/child/native_apptest.cc b/services/shell/runner/child/native_apptest.cc
index 1d2c15665b85f61c570cfd404f7401d21a68c5a3..06bddc8cd7020b6b71b882c86debf9a15a6242ec 100644
--- a/services/shell/runner/child/native_apptest.cc
+++ b/services/shell/runner/child/native_apptest.cc
@@ -7,15 +7,17 @@
#include "services/shell/public/cpp/application_test_base.h"
#include "services/shell/runner/child/test_native_service.mojom.h"
-namespace mojo {
namespace shell {
+
namespace {
+
void InvertCallback(bool* result, bool from_native) {
*result = from_native;
}
+
} // namespace
-using NativeAppTest = mojo::test::ApplicationTestBase;
+using NativeAppTest = test::ApplicationTestBase;
TEST_F(NativeAppTest, Connect) {
test::TestNativeServicePtr native_service;
@@ -35,4 +37,3 @@ TEST_F(NativeAppTest, Connect) {
}
} // namespace shell
-} // namespace mojo
« no previous file with comments | « services/shell/public/interfaces/shell_resolver.mojom ('k') | services/shell/runner/child/native_apptest_target.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698