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 SHELL_APPLICATION_MANAGER_FETCHER_H_ | 5 #ifndef SHELL_APPLICATION_MANAGER_FETCHER_H_ |
6 #define SHELL_APPLICATION_MANAGER_FETCHER_H_ | 6 #define SHELL_APPLICATION_MANAGER_FETCHER_H_ |
7 | 7 |
8 #include "base/callback.h" | 8 #include "base/callback.h" |
9 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
10 | 10 |
11 #include "mojo/services/network/public/interfaces/url_loader.mojom.h" | 11 #include "mojo/services/network/interfaces/url_loader.mojom.h" |
12 | 12 |
13 class GURL; | 13 class GURL; |
14 | 14 |
15 namespace base { | 15 namespace base { |
16 class FilePath; | 16 class FilePath; |
17 class TaskRunner; | 17 class TaskRunner; |
18 } | 18 } |
19 | 19 |
20 namespace shell { | 20 namespace shell { |
21 | 21 |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
65 protected: | 65 protected: |
66 static bool HasMojoMagic(const base::FilePath& path); | 66 static bool HasMojoMagic(const base::FilePath& path); |
67 static bool PeekFirstLine(const base::FilePath& path, std::string* line); | 67 static bool PeekFirstLine(const base::FilePath& path, std::string* line); |
68 | 68 |
69 FetchCallback loader_callback_; | 69 FetchCallback loader_callback_; |
70 }; | 70 }; |
71 | 71 |
72 } // namespace shell | 72 } // namespace shell |
73 | 73 |
74 #endif // SHELL_APPLICATION_MANAGER_FETCHER_H_ | 74 #endif // SHELL_APPLICATION_MANAGER_FETCHER_H_ |
OLD | NEW |