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

Side by Side Diff: shell/native_runner_unittest.cc

Issue 972433004: Use the mojo::shell namespace consistently underly shell/. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Java! Created 5 years, 9 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
« no previous file with comments | « shell/launcher_main.cc ('k') | shell/shell_test_helper.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 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 "base/files/scoped_temp_dir.h" 5 #include "base/files/scoped_temp_dir.h"
6 #include "shell/application_manager/application_manager.h" 6 #include "shell/application_manager/application_manager.h"
7 #include "shell/context.h" 7 #include "shell/context.h"
8 #include "shell/filename_util.h" 8 #include "shell/filename_util.h"
9 #include "testing/gtest/include/gtest/gtest.h" 9 #include "testing/gtest/include/gtest/gtest.h"
10 10
11 namespace mojo { 11 namespace mojo {
12 namespace shell {
12 namespace { 13 namespace {
13 14
14 struct TestState { 15 struct TestState {
15 TestState() 16 TestState()
16 : runner_was_created(false), 17 : runner_was_created(false),
17 runner_was_started(false), 18 runner_was_started(false),
18 runner_was_destroyed(false) {} 19 runner_was_destroyed(false) {}
19 20
20 bool runner_was_created; 21 bool runner_was_created;
21 bool runner_was_started; 22 bool runner_was_started;
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
92 InterfaceRequest<ServiceProvider> services; 93 InterfaceRequest<ServiceProvider> services;
93 ServiceProviderPtr service_provider; 94 ServiceProviderPtr service_provider;
94 application_manager_.ConnectToApplication(url, GURL(), services.Pass(), 95 application_manager_.ConnectToApplication(url, GURL(), services.Pass(),
95 service_provider.Pass()); 96 service_provider.Pass());
96 EXPECT_FALSE(state_.runner_was_created); 97 EXPECT_FALSE(state_.runner_was_created);
97 EXPECT_FALSE(state_.runner_was_started); 98 EXPECT_FALSE(state_.runner_was_started);
98 EXPECT_FALSE(state_.runner_was_destroyed); 99 EXPECT_FALSE(state_.runner_was_destroyed);
99 } 100 }
100 101
101 } // namespace 102 } // namespace
103 } // namespace shell
102 } // namespace mojo 104 } // namespace mojo
OLDNEW
« no previous file with comments | « shell/launcher_main.cc ('k') | shell/shell_test_helper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698