summaryrefslogtreecommitdiffstats
path: root/chrome/browser/chromeos/pipe_reader.cc
diff options
context:
space:
mode:
authorchocobo@google.com <chocobo@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-10-30 00:35:00 +0000
committerchocobo@google.com <chocobo@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-10-30 00:35:00 +0000
commitb22c21c1688727edabf33ef4eebac0c00484271f (patch)
treee64a91d707ceb8c86bebc6a1bbfb3c76f754dc5c /chrome/browser/chromeos/pipe_reader.cc
parent15ab7409218f0bed6e0f448b8707fcfc68ef26bb (diff)
downloadchromium_src-b22c21c1688727edabf33ef4eebac0c00484271f.zip
chromium_src-b22c21c1688727edabf33ef4eebac0c00484271f.tar.gz
chromium_src-b22c21c1688727edabf33ef4eebac0c00484271f.tar.bz2
Move chromeos code to namespace chromeos.
BUG=none TEST=none Review URL: http://codereview.chromium.org/341044 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@30541 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/chromeos/pipe_reader.cc')
-rw-r--r--chrome/browser/chromeos/pipe_reader.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/chrome/browser/chromeos/pipe_reader.cc b/chrome/browser/chromeos/pipe_reader.cc
index 16b9f06..2ed5e7c 100644
--- a/chrome/browser/chromeos/pipe_reader.cc
+++ b/chrome/browser/chromeos/pipe_reader.cc
@@ -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 @@ std::string PipeReader::Read(const uint32 bytes_to_read) {
}
return std::string();
}
+
+} // namespace chromeos