OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 #include "mojo/fetcher/about_fetcher.h" | 5 #include "mojo/fetcher/about_fetcher.h" |
6 | 6 |
| 7 #include <stdint.h> |
| 8 |
7 #include <utility> | 9 #include <utility> |
8 | 10 |
9 #include "base/bind.h" | 11 #include "base/bind.h" |
10 #include "base/files/file_path.h" | 12 #include "base/files/file_path.h" |
11 #include "base/logging.h" | 13 #include "base/logging.h" |
12 #include "base/memory/scoped_ptr.h" | 14 #include "base/memory/scoped_ptr.h" |
13 #include "base/message_loop/message_loop.h" | 15 #include "base/message_loop/message_loop.h" |
14 | 16 |
15 namespace mojo { | 17 namespace mojo { |
16 namespace fetcher { | 18 namespace fetcher { |
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
105 return false; | 107 return false; |
106 } | 108 } |
107 | 109 |
108 bool AboutFetcher::PeekFirstLine(std::string* line) { | 110 bool AboutFetcher::PeekFirstLine(std::string* line) { |
109 // The only URL handled currently is "about:blank" which doesn't have a body. | 111 // The only URL handled currently is "about:blank" which doesn't have a body. |
110 return false; | 112 return false; |
111 } | 113 } |
112 | 114 |
113 } // namespace fetcher | 115 } // namespace fetcher |
114 } // namespace mojo | 116 } // namespace mojo |
OLD | NEW |