| 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 scoped_ptr<Fetcher> fetcher, | 190 scoped_ptr<Fetcher> fetcher, |
| 188 const base::FilePath& file_path, | 191 const base::FilePath& file_path, |
| 189 bool path_exists); | 192 bool path_exists); |
| 190 | 193 |
| 191 void LoadWithContentHandler(const GURL& content_handler_url, | 194 void LoadWithContentHandler(const GURL& content_handler_url, |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 223 MimeTypeToURLMap mime_type_to_url_; | 226 MimeTypeToURLMap mime_type_to_url_; |
| 224 ScopedVector<NativeRunner> native_runners_; | 227 ScopedVector<NativeRunner> native_runners_; |
| 225 bool disable_cache_; | 228 bool disable_cache_; |
| 226 | 229 |
| 227 DISALLOW_COPY_AND_ASSIGN(ApplicationManager); | 230 DISALLOW_COPY_AND_ASSIGN(ApplicationManager); |
| 228 }; | 231 }; |
| 229 | 232 |
| 230 } // namespace mojo | 233 } // namespace mojo |
| 231 | 234 |
| 232 #endif // SHELL_APPLICATION_MANAGER_APPLICATION_MANAGER_H_ | 235 #endif // SHELL_APPLICATION_MANAGER_APPLICATION_MANAGER_H_ |
| OLD | NEW |