| 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_LOCAL_FETCHER_H_ | 5 #ifndef SHELL_APPLICATION_MANAGER_LOCAL_FETCHER_H_ |
| 6 #define SHELL_APPLICATION_MANAGER_LOCAL_FETCHER_H_ | 6 #define SHELL_APPLICATION_MANAGER_LOCAL_FETCHER_H_ |
| 7 | 7 |
| 8 #include "base/files/file_path.h" | 8 #include "base/files/file_path.h" |
| 9 #include "mojo/services/network/public/interfaces/url_loader.mojom.h" | 9 #include "mojo/services/network/interfaces/url_loader.mojom.h" |
| 10 #include "shell/application_manager/fetcher.h" | 10 #include "shell/application_manager/fetcher.h" |
| 11 #include "url/gurl.h" | 11 #include "url/gurl.h" |
| 12 | 12 |
| 13 namespace shell { | 13 namespace shell { |
| 14 | 14 |
| 15 // Implements Fetcher for file:// URLs. | 15 // Implements Fetcher for file:// URLs. |
| 16 class LocalFetcher : public Fetcher { | 16 class LocalFetcher : public Fetcher { |
| 17 public: | 17 public: |
| 18 LocalFetcher(const GURL& url, | 18 LocalFetcher(const GURL& url, |
| 19 const GURL& url_without_query, | 19 const GURL& url_without_query, |
| (...skipping 20 matching lines...) Expand all Loading... |
| 40 | 40 |
| 41 GURL url_; | 41 GURL url_; |
| 42 base::FilePath path_; | 42 base::FilePath path_; |
| 43 | 43 |
| 44 DISALLOW_COPY_AND_ASSIGN(LocalFetcher); | 44 DISALLOW_COPY_AND_ASSIGN(LocalFetcher); |
| 45 }; | 45 }; |
| 46 | 46 |
| 47 } // namespace shell | 47 } // namespace shell |
| 48 | 48 |
| 49 #endif // SHELL_APPLICATION_MANAGER_LOCAL_FETCHER_H_ | 49 #endif // SHELL_APPLICATION_MANAGER_LOCAL_FETCHER_H_ |
| OLD | NEW |