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

Unified Diff: chrome/browser/chromeos/pipe_reader.cc

Issue 341044: Move chromeos code to namespace chromeos. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 2 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: chrome/browser/chromeos/pipe_reader.cc
===================================================================
--- chrome/browser/chromeos/pipe_reader.cc (revision 30488)
+++ chrome/browser/chromeos/pipe_reader.cc (working copy)
@@ -6,6 +6,8 @@
#include "base/scoped_ptr.h"
+namespace chromeos {
+
std::string PipeReader::Read(const uint32 bytes_to_read) {
scoped_array<char> buffer(new char[bytes_to_read]);
if (pipe_ || (pipe_ = fopen(pipe_name_.c_str(), "r"))) {
@@ -15,3 +17,5 @@
}
return std::string();
}
+
+} // namespace chromeos

Powered by Google App Engine
This is Rietveld 408576698