| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_APPLICATION_MANAGER_H_ | 5 #ifndef SHELL_APPLICATION_MANAGER_APPLICATION_MANAGER_H_ |
| 6 #define SHELL_APPLICATION_MANAGER_APPLICATION_MANAGER_H_ | 6 #define SHELL_APPLICATION_MANAGER_APPLICATION_MANAGER_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 | 9 |
| 10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
| (...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 171 ServiceProviderPtr exposed_services); | 171 ServiceProviderPtr exposed_services); |
| 172 | 172 |
| 173 ShellImpl* GetShellImpl(const GURL& url); | 173 ShellImpl* GetShellImpl(const GURL& url); |
| 174 | 174 |
| 175 void ConnectToClient(ShellImpl* shell_impl, | 175 void ConnectToClient(ShellImpl* shell_impl, |
| 176 const GURL& url, | 176 const GURL& url, |
| 177 const GURL& requestor_url, | 177 const GURL& requestor_url, |
| 178 InterfaceRequest<ServiceProvider> services, | 178 InterfaceRequest<ServiceProvider> services, |
| 179 ServiceProviderPtr exposed_services); | 179 ServiceProviderPtr exposed_services); |
| 180 | 180 |
| 181 void HandleFetchCallback(InterfaceRequest<Application> application_request, | 181 void HandleFetchCallback(const GURL& requested_url, |
| 182 const GURL& requestor_url, |
| 183 InterfaceRequest<ServiceProvider> services, |
| 184 ServiceProviderPtr exposed_services, |
| 182 NativeRunner::CleanupBehavior cleanup_behavior, | 185 NativeRunner::CleanupBehavior cleanup_behavior, |
| 183 scoped_ptr<Fetcher> fetcher); | 186 scoped_ptr<Fetcher> fetcher); |
| 184 | 187 |
| 185 void RunNativeApplication(InterfaceRequest<Application> application_request, | 188 void RunNativeApplication(InterfaceRequest<Application> application_request, |
| 186 NativeRunner::CleanupBehavior cleanup_behavior, | 189 NativeRunner::CleanupBehavior cleanup_behavior, |
| 187 const base::FilePath& file_path, | 190 const base::FilePath& file_path, |
| 188 bool path_exists); | 191 bool path_exists); |
| 189 | 192 |
| 190 void LoadWithContentHandler(const GURL& content_handler_url, | 193 void LoadWithContentHandler(const GURL& content_handler_url, |
| 191 InterfaceRequest<Application> application_request, | 194 InterfaceRequest<Application> application_request, |
| (...skipping 30 matching lines...) Expand all Loading... |
| 222 MimeTypeToURLMap mime_type_to_url_; | 225 MimeTypeToURLMap mime_type_to_url_; |
| 223 ScopedVector<NativeRunner> native_runners_; | 226 ScopedVector<NativeRunner> native_runners_; |
| 224 bool disable_cache_; | 227 bool disable_cache_; |
| 225 | 228 |
| 226 DISALLOW_COPY_AND_ASSIGN(ApplicationManager); | 229 DISALLOW_COPY_AND_ASSIGN(ApplicationManager); |
| 227 }; | 230 }; |
| 228 | 231 |
| 229 } // namespace mojo | 232 } // namespace mojo |
| 230 | 233 |
| 231 #endif // SHELL_APPLICATION_MANAGER_APPLICATION_MANAGER_H_ | 234 #endif // SHELL_APPLICATION_MANAGER_APPLICATION_MANAGER_H_ |
| OLD | NEW |