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

Side by Side Diff: shell/shell_test_helper.h

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/native_runner_unittest.cc ('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
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 #ifndef SHELL_SHELL_TEST_HELPER_H_ 5 #ifndef SHELL_SHELL_TEST_HELPER_H_
6 #define SHELL_SHELL_TEST_HELPER_H_ 6 #define SHELL_SHELL_TEST_HELPER_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "base/run_loop.h" 10 #include "base/run_loop.h"
11 #include "shell/application_manager/application_loader.h" 11 #include "shell/application_manager/application_loader.h"
12 #include "shell/context.h" 12 #include "shell/context.h"
13 13
14 class GURL; 14 class GURL;
15 15
16 namespace mojo { 16 namespace mojo {
17
18 namespace shell { 17 namespace shell {
19 18
20 // ShellTestHelper is useful for tests to establish a connection to the 19 // ShellTestHelper is useful for tests to establish a connection to the
21 // ApplicationManager. Invoke Init() to establish the connection. Once done, 20 // ApplicationManager. Invoke Init() to establish the connection. Once done,
22 // application_manager() returns the ApplicationManager. 21 // application_manager() returns the ApplicationManager.
23 class ShellTestHelper { 22 class ShellTestHelper {
24 public: 23 public:
25 ShellTestHelper(); 24 ShellTestHelper();
26 ~ShellTestHelper(); 25 ~ShellTestHelper();
27 26
(...skipping 16 matching lines...) Expand all
44 Context context_; 43 Context context_;
45 base::MessageLoop shell_loop_; 44 base::MessageLoop shell_loop_;
46 scoped_ptr<ApplicationManager::TestAPI> test_api_; 45 scoped_ptr<ApplicationManager::TestAPI> test_api_;
47 DISALLOW_COPY_AND_ASSIGN(ShellTestHelper); 46 DISALLOW_COPY_AND_ASSIGN(ShellTestHelper);
48 }; 47 };
49 48
50 } // namespace shell 49 } // namespace shell
51 } // namespace mojo 50 } // namespace mojo
52 51
53 #endif // SHELL_SHELL_TEST_HELPER_H_ 52 #endif // SHELL_SHELL_TEST_HELPER_H_
OLDNEW
« no previous file with comments | « shell/native_runner_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698