OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 #include "apps/launcher.h" | 5 #include "apps/launcher.h" |
6 | 6 |
7 #include <set> | 7 #include <set> |
8 #include <utility> | 8 #include <utility> |
9 | 9 |
10 #include "base/command_line.h" | 10 #include "base/command_line.h" |
(...skipping 15 matching lines...) Expand all Loading... |
26 #include "extensions/browser/api/app_runtime/app_runtime_api.h" | 26 #include "extensions/browser/api/app_runtime/app_runtime_api.h" |
27 #include "extensions/browser/event_router.h" | 27 #include "extensions/browser/event_router.h" |
28 #include "extensions/browser/extension_host.h" | 28 #include "extensions/browser/extension_host.h" |
29 #include "extensions/browser/extension_prefs.h" | 29 #include "extensions/browser/extension_prefs.h" |
30 #include "extensions/browser/extension_system.h" | 30 #include "extensions/browser/extension_system.h" |
31 #include "extensions/browser/granted_file_entry.h" | 31 #include "extensions/browser/granted_file_entry.h" |
32 #include "extensions/browser/lazy_background_task_queue.h" | 32 #include "extensions/browser/lazy_background_task_queue.h" |
33 #include "extensions/browser/process_manager.h" | 33 #include "extensions/browser/process_manager.h" |
34 #include "extensions/common/api/app_runtime.h" | 34 #include "extensions/common/api/app_runtime.h" |
35 #include "extensions/common/extension.h" | 35 #include "extensions/common/extension.h" |
36 #include "extensions/common/extension_messages.h" | |
37 #include "extensions/common/manifest_handlers/kiosk_mode_info.h" | 36 #include "extensions/common/manifest_handlers/kiosk_mode_info.h" |
38 #include "net/base/filename_util.h" | 37 #include "net/base/filename_util.h" |
39 #include "net/base/net_util.h" | 38 #include "net/base/net_util.h" |
40 #include "url/gurl.h" | 39 #include "url/gurl.h" |
41 | 40 |
42 #if defined(OS_CHROMEOS) | 41 #if defined(OS_CHROMEOS) |
43 #include "components/user_manager/user_manager.h" | 42 #include "components/user_manager/user_manager.h" |
44 #endif | 43 #endif |
45 | 44 |
46 namespace app_runtime = extensions::core_api::app_runtime; | 45 namespace app_runtime = extensions::core_api::app_runtime; |
(...skipping 356 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
403 void LaunchPlatformAppWithUrl(Profile* profile, | 402 void LaunchPlatformAppWithUrl(Profile* profile, |
404 const Extension* extension, | 403 const Extension* extension, |
405 const std::string& handler_id, | 404 const std::string& handler_id, |
406 const GURL& url, | 405 const GURL& url, |
407 const GURL& referrer_url) { | 406 const GURL& referrer_url) { |
408 AppRuntimeEventRouter::DispatchOnLaunchedEventWithUrl( | 407 AppRuntimeEventRouter::DispatchOnLaunchedEventWithUrl( |
409 profile, extension, handler_id, url, referrer_url); | 408 profile, extension, handler_id, url, referrer_url); |
410 } | 409 } |
411 | 410 |
412 } // namespace apps | 411 } // namespace apps |
OLD | NEW |