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

Side by Side Diff: base/files/dir_reader_linux.h

Issue 10413022: Move dir_reader to base/files (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix linux Created 8 years, 5 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 | Annotate | Revision Log
« no previous file with comments | « base/files/dir_reader_fallback.h ('k') | base/files/dir_reader_posix.h » ('j') | 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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 BASE_DIR_READER_LINUX_H_ 5 #ifndef BASE_FILES_DIR_READER_LINUX_H_
6 #define BASE_DIR_READER_LINUX_H_ 6 #define BASE_FILES_DIR_READER_LINUX_H_
7 #pragma once 7 #pragma once
8 8
9 #include <errno.h> 9 #include <errno.h>
10 #include <fcntl.h> 10 #include <fcntl.h>
11 #include <stdint.h> 11 #include <stdint.h>
12 #include <sys/syscall.h> 12 #include <sys/syscall.h>
13 #include <unistd.h> 13 #include <unistd.h>
14 14
15 #include "base/logging.h" 15 #include "base/logging.h"
16 #include "base/eintr_wrapper.h" 16 #include "base/eintr_wrapper.h"
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
89 private: 89 private:
90 const int fd_; 90 const int fd_;
91 unsigned char buf_[512]; 91 unsigned char buf_[512];
92 size_t offset_, size_; 92 size_t offset_, size_;
93 93
94 DISALLOW_COPY_AND_ASSIGN(DirReaderLinux); 94 DISALLOW_COPY_AND_ASSIGN(DirReaderLinux);
95 }; 95 };
96 96
97 } // namespace base 97 } // namespace base
98 98
99 #endif // BASE_DIR_READER_LINUX_H_ 99 #endif // BASE_FILES_DIR_READER_LINUX_H_
OLDNEW
« no previous file with comments | « base/files/dir_reader_fallback.h ('k') | base/files/dir_reader_posix.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698