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

Side by Side Diff: chrome/browser/chromeos/pipe_reader.h

Issue 199046: Fix build break for chrome os. (Closed)
Patch Set: Created 11 years, 3 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 unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_CHROMEOS_PIPE_READER_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_PIPE_READER_H_
6 #define CHROME_BROWSER_CHROMEOS_PIPE_READER_H_ 6 #define CHROME_BROWSER_CHROMEOS_PIPE_READER_H_
7 7
8 #include <fcntl.h> 8 #include <fcntl.h>
9 #include <stdio.h>
9 #include <string> 10 #include <string>
10 #include <sys/stat.h> 11 #include <sys/stat.h>
11 #include <sys/types.h> 12 #include <sys/types.h>
12 #include <unistd.h> 13 #include <unistd.h>
13 14
14 #include "base/basictypes.h" 15 #include "base/basictypes.h"
15 16
16 // Given a named pipe, this class reads data from it and returns it as a string. 17 // Given a named pipe, this class reads data from it and returns it as a string.
17 // Currently, we are sending login cookies from the Chrome OS login manager to 18 // Currently, we are sending login cookies from the Chrome OS login manager to
18 // Chrome over a named Unix pipe. We want to replace this with DBus, but 19 // Chrome over a named Unix pipe. We want to replace this with DBus, but
(...skipping 22 matching lines...) Expand all
41 PipeReader() : pipe_(NULL) {} 42 PipeReader() : pipe_(NULL) {}
42 43
43 private: 44 private:
44 FILE *pipe_; 45 FILE *pipe_;
45 std::string pipe_name_; 46 std::string pipe_name_;
46 47
47 DISALLOW_COPY_AND_ASSIGN(PipeReader); 48 DISALLOW_COPY_AND_ASSIGN(PipeReader);
48 }; 49 };
49 50
50 #endif // CHROME_BROWSER_CHROMEOS_PIPE_READER_H_ 51 #endif // CHROME_BROWSER_CHROMEOS_PIPE_READER_H_
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698