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 #ifndef MOJO_FETCHER_LOCAL_FETCHER_H_ | 5 #ifndef MOJO_FETCHER_LOCAL_FETCHER_H_ |
6 #define MOJO_FETCHER_LOCAL_FETCHER_H_ | 6 #define MOJO_FETCHER_LOCAL_FETCHER_H_ |
7 | 7 |
| 8 #include <stdint.h> |
| 9 |
8 #include <string> | 10 #include <string> |
9 | 11 |
10 #include "base/files/file_path.h" | 12 #include "base/files/file_path.h" |
| 13 #include "base/macros.h" |
11 #include "mojo/shell/fetcher.h" | 14 #include "mojo/shell/fetcher.h" |
12 #include "url/gurl.h" | 15 #include "url/gurl.h" |
13 | 16 |
14 namespace mojo { | 17 namespace mojo { |
15 | 18 |
16 class NetworkService; | 19 class NetworkService; |
17 | 20 |
18 namespace fetcher { | 21 namespace fetcher { |
19 | 22 |
20 // Implements Fetcher for file:// URLs. | 23 // Implements Fetcher for file:// URLs. |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
53 base::FilePath shell_file_root_; | 56 base::FilePath shell_file_root_; |
54 std::string mime_type_; | 57 std::string mime_type_; |
55 | 58 |
56 DISALLOW_COPY_AND_ASSIGN(LocalFetcher); | 59 DISALLOW_COPY_AND_ASSIGN(LocalFetcher); |
57 }; | 60 }; |
58 | 61 |
59 } // namespace fetcher | 62 } // namespace fetcher |
60 } // namespace mojo | 63 } // namespace mojo |
61 | 64 |
62 #endif // MOJO_FETCHER_LOCAL_FETCHER_H_ | 65 #endif // MOJO_FETCHER_LOCAL_FETCHER_H_ |
OLD | NEW |