OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 CHROMEOS_DBUS_PIPE_READER_H_ | 5 #ifndef CHROMEOS_DBUS_PIPE_READER_H_ |
6 #define CHROMEOS_DBUS_PIPE_READER_H_ | 6 #define CHROMEOS_DBUS_PIPE_READER_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/callback.h" | 10 #include "base/callback.h" |
11 #include "base/files/file.h" | 11 #include "base/files/file.h" |
| 12 #include "base/macros.h" |
12 #include "base/memory/ref_counted.h" | 13 #include "base/memory/ref_counted.h" |
13 #include "base/memory/scoped_ptr.h" | 14 #include "base/memory/scoped_ptr.h" |
14 #include "base/memory/weak_ptr.h" | 15 #include "base/memory/weak_ptr.h" |
15 | 16 |
16 namespace base { | 17 namespace base { |
17 class TaskRunner; | 18 class TaskRunner; |
18 } | 19 } |
19 | 20 |
20 namespace net { | 21 namespace net { |
21 class FileStream; | 22 class FileStream; |
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
81 | 82 |
82 private: | 83 private: |
83 std::string data_; | 84 std::string data_; |
84 | 85 |
85 DISALLOW_COPY_AND_ASSIGN(PipeReaderForString); | 86 DISALLOW_COPY_AND_ASSIGN(PipeReaderForString); |
86 }; | 87 }; |
87 | 88 |
88 } // namespace chromeos | 89 } // namespace chromeos |
89 | 90 |
90 #endif // CHROMEOS_DBUS_PIPE_READER_H_ | 91 #endif // CHROMEOS_DBUS_PIPE_READER_H_ |
OLD | NEW |