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

Unified Diff: shell/shell_test_base.h

Issue 1067173003: Remove mojo:: part of mojo::shell:: nested namespace in //shell. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 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: shell/shell_test_base.h
diff --git a/shell/shell_test_base.h b/shell/shell_test_base.h
index bfb320bae7b66218b34b2ad9b7e400c3e673097a..746f9783db967ee697850541d5db2160806383fb 100644
--- a/shell/shell_test_base.h
+++ b/shell/shell_test_base.h
@@ -15,7 +15,6 @@
class GURL;
-namespace mojo {
namespace shell {
namespace test {
@@ -29,13 +28,14 @@ class ShellTestBase : public testing::Test {
// |application_url| should typically be a mojo: URL (the origin will be set
// to an "appropriate" file: URL).
- // TODO(tim): Should the test base be a ServiceProvider?
- ScopedMessagePipeHandle ConnectToService(const GURL& application_url,
- const std::string& service_name);
+ // TODO(tim): Should the test base be a mojo::ServiceProvider?
+ mojo::ScopedMessagePipeHandle ConnectToService(
+ const GURL& application_url,
+ const std::string& service_name);
template <typename Interface>
void ConnectToService(const GURL& application_url,
- InterfacePtr<Interface>* ptr) {
+ mojo::InterfacePtr<Interface>* ptr) {
ptr->Bind(ConnectToService(application_url, Interface::Name_).Pass());
}
@@ -54,6 +54,5 @@ class ShellTestBase : public testing::Test {
} // namespace test
} // namespace shell
-} // namespace mojo
#endif // SHELL_SHELL_TEST_BASE_H_

Powered by Google App Engine
This is Rietveld 408576698