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_SHELL_PACKAGE_MANAGER_PACKAGE_MANAGER_IMPL_H_ | 5 #ifndef MOJO_SHELL_PACKAGE_MANAGER_PACKAGE_MANAGER_IMPL_H_ |
6 #define MOJO_SHELL_PACKAGE_MANAGER_PACKAGE_MANAGER_IMPL_H_ | 6 #define MOJO_SHELL_PACKAGE_MANAGER_PACKAGE_MANAGER_IMPL_H_ |
7 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include "base/files/file_path.h" | 10 #include "base/files/file_path.h" |
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
91 // Overridden from PackageManager: | 91 // Overridden from PackageManager: |
92 void SetApplicationManager(ApplicationManager* manager) override; | 92 void SetApplicationManager(ApplicationManager* manager) override; |
93 void FetchRequest( | 93 void FetchRequest( |
94 URLRequestPtr request, | 94 URLRequestPtr request, |
95 const Fetcher::FetchCallback& loader_callback) override; | 95 const Fetcher::FetchCallback& loader_callback) override; |
96 uint32_t HandleWithContentHandler( | 96 uint32_t HandleWithContentHandler( |
97 Fetcher* fetcher, | 97 Fetcher* fetcher, |
98 const Identity& source, | 98 const Identity& source, |
99 const GURL& target_url, | 99 const GURL& target_url, |
100 const CapabilityFilter& target_filter, | 100 const CapabilityFilter& target_filter, |
101 InterfaceRequest<mojom::Application>* application_request) override; | 101 InterfaceRequest<mojom::ShellClient>* request) override; |
102 bool IsURLInCatalog(const std::string& url) const override; | 102 bool IsURLInCatalog(const std::string& url) const override; |
103 std::string GetApplicationName(const std::string& url) const override; | 103 std::string GetApplicationName(const std::string& url) const override; |
104 | 104 |
105 GURL ResolveURL(const GURL& url); | 105 GURL ResolveURL(const GURL& url); |
106 bool ShouldHandleWithContentHandler( | 106 bool ShouldHandleWithContentHandler( |
107 Fetcher* fetcher, | 107 Fetcher* fetcher, |
108 const GURL& target_url, | 108 const GURL& target_url, |
109 const CapabilityFilter& target_filter, | 109 const CapabilityFilter& target_filter, |
110 Identity* content_handler_identity, | 110 Identity* content_handler_identity, |
111 URLResponsePtr* response) const; | 111 URLResponsePtr* response) const; |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
151 ApplicationCatalogStore* catalog_store_; | 151 ApplicationCatalogStore* catalog_store_; |
152 std::map<std::string, ApplicationInfo> catalog_; | 152 std::map<std::string, ApplicationInfo> catalog_; |
153 | 153 |
154 DISALLOW_COPY_AND_ASSIGN(PackageManagerImpl); | 154 DISALLOW_COPY_AND_ASSIGN(PackageManagerImpl); |
155 }; | 155 }; |
156 | 156 |
157 } // namespace shell | 157 } // namespace shell |
158 } // namespace mojo | 158 } // namespace mojo |
159 | 159 |
160 #endif // MOJO_SHELL_PACKAGE_MANAGER_PACKAGE_MANAGER_IMPL_H_ | 160 #endif // MOJO_SHELL_PACKAGE_MANAGER_PACKAGE_MANAGER_IMPL_H_ |
OLD | NEW |