| 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 <memory> | 7 #include <memory> |
| 8 #include <set> | 8 #include <set> |
| 9 #include <utility> | 9 #include <utility> |
| 10 | 10 |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 46 #endif | 46 #endif |
| 47 | 47 |
| 48 namespace app_runtime = extensions::api::app_runtime; | 48 namespace app_runtime = extensions::api::app_runtime; |
| 49 | 49 |
| 50 using content::BrowserThread; | 50 using content::BrowserThread; |
| 51 using extensions::AppRuntimeEventRouter; | 51 using extensions::AppRuntimeEventRouter; |
| 52 using extensions::api::app_runtime::PlayStoreStatus; | 52 using extensions::api::app_runtime::PlayStoreStatus; |
| 53 using extensions::app_file_handler_util::CreateFileEntry; | 53 using extensions::app_file_handler_util::CreateFileEntry; |
| 54 using extensions::app_file_handler_util::FileHandlerCanHandleEntry; | 54 using extensions::app_file_handler_util::FileHandlerCanHandleEntry; |
| 55 using extensions::app_file_handler_util::FileHandlerForId; | 55 using extensions::app_file_handler_util::FileHandlerForId; |
| 56 using extensions::app_file_handler_util::FirstFileHandlerForEntry; | |
| 57 using extensions::app_file_handler_util::HasFileSystemWritePermission; | 56 using extensions::app_file_handler_util::HasFileSystemWritePermission; |
| 58 using extensions::app_file_handler_util::PrepareFilesForWritableApp; | 57 using extensions::app_file_handler_util::PrepareFilesForWritableApp; |
| 59 using extensions::EventRouter; | 58 using extensions::EventRouter; |
| 60 using extensions::Extension; | 59 using extensions::Extension; |
| 61 using extensions::ExtensionHost; | 60 using extensions::ExtensionHost; |
| 62 using extensions::GrantedFileEntry; | 61 using extensions::GrantedFileEntry; |
| 63 | 62 |
| 64 namespace apps { | 63 namespace apps { |
| 65 | 64 |
| 66 namespace { | 65 namespace { |
| (...skipping 420 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 487 void LaunchPlatformAppWithUrl(Profile* profile, | 486 void LaunchPlatformAppWithUrl(Profile* profile, |
| 488 const Extension* app, | 487 const Extension* app, |
| 489 const std::string& handler_id, | 488 const std::string& handler_id, |
| 490 const GURL& url, | 489 const GURL& url, |
| 491 const GURL& referrer_url) { | 490 const GURL& referrer_url) { |
| 492 AppRuntimeEventRouter::DispatchOnLaunchedEventWithUrl( | 491 AppRuntimeEventRouter::DispatchOnLaunchedEventWithUrl( |
| 493 profile, app, handler_id, url, referrer_url); | 492 profile, app, handler_id, url, referrer_url); |
| 494 } | 493 } |
| 495 | 494 |
| 496 } // namespace apps | 495 } // namespace apps |
| OLD | NEW |