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

Unified Diff: shell/data_pipe_peek_unittest.cc

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/data_pipe_peek_unittest.cc
diff --git a/shell/data_pipe_peek_unittest.cc b/shell/data_pipe_peek_unittest.cc
index e6ef8f814c879542a99f040225b2d8016b977e42..2eebf4108792306c16e2f2f9efb51c07d5d6cf10 100644
--- a/shell/data_pipe_peek_unittest.cc
+++ b/shell/data_pipe_peek_unittest.cc
@@ -7,16 +7,15 @@
#include "shell/context.h"
#include "testing/gtest/include/gtest/gtest.h"
-namespace mojo {
namespace shell {
namespace {
TEST(DataPipePeek, PeekNBytes) {
Context::EnsureEmbedderIsInitialized();
- DataPipe data_pipe;
- DataPipeConsumerHandle consumer(data_pipe.consumer_handle.get());
- DataPipeProducerHandle producer(data_pipe.producer_handle.get());
+ mojo::DataPipe data_pipe;
+ mojo::DataPipeConsumerHandle consumer(data_pipe.consumer_handle.get());
+ mojo::DataPipeProducerHandle producer(data_pipe.producer_handle.get());
// Inialize the pipe with 4 bytes.
@@ -71,9 +70,9 @@ TEST(DataPipePeek, PeekNBytes) {
TEST(DataPipePeek, PeekLine) {
Context::EnsureEmbedderIsInitialized();
- DataPipe data_pipe;
- DataPipeConsumerHandle consumer(data_pipe.consumer_handle.get());
- DataPipeProducerHandle producer(data_pipe.producer_handle.get());
+ mojo::DataPipe data_pipe;
+ mojo::DataPipeConsumerHandle consumer(data_pipe.consumer_handle.get());
+ mojo::DataPipeProducerHandle producer(data_pipe.producer_handle.get());
// Inialize the pipe with 4 bytes and no newline.
@@ -110,4 +109,3 @@ TEST(DataPipePeek, PeekLine) {
} // namespace
} // namespace shell
-} // namespace mojo

Powered by Google App Engine
This is Rietveld 408576698