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

Unified Diff: shell/application_manager/data_pipe_peek.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/application_manager/data_pipe_peek.h
diff --git a/shell/application_manager/data_pipe_peek.h b/shell/application_manager/data_pipe_peek.h
index 5ffbc5b020addcaee09d3dc5c8d3c16dd7f5efb8..adc813cf60d36f7033df345b52ce840e8eb3d7f6 100644
--- a/shell/application_manager/data_pipe_peek.h
+++ b/shell/application_manager/data_pipe_peek.h
@@ -9,7 +9,6 @@
#include "mojo/public/cpp/system/core.h"
-namespace mojo {
namespace shell {
// The Peek functions are only intended to be used by the
@@ -20,19 +19,18 @@ namespace shell {
// Return true and the first newline terminated line from source. Return false
// if more than max_line_length bytes are scanned without seeing a newline, or
// if the timeout is exceeded.
-bool BlockingPeekLine(DataPipeConsumerHandle source,
+bool BlockingPeekLine(mojo::DataPipeConsumerHandle source,
std::string* line,
size_t max_line_length,
MojoDeadline timeout);
// Return true and the first bytes_length bytes from source. Return false
// if the timeout is exceeded.
-bool BlockingPeekNBytes(DataPipeConsumerHandle source,
+bool BlockingPeekNBytes(mojo::DataPipeConsumerHandle source,
std::string* bytes,
size_t bytes_length,
MojoDeadline timeout);
} // namespace shell
-} // namespace mojo
#endif // SHELL_APPLICATION_MANAGER_DATA_PIPE_SEEK_H_

Powered by Google App Engine
This is Rietveld 408576698