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 <utility> |
| 8 #include <set> |
| 9 |
7 #include "base/command_line.h" | 10 #include "base/command_line.h" |
8 #include "base/file_util.h" | 11 #include "base/file_util.h" |
9 #include "base/files/file_path.h" | 12 #include "base/files/file_path.h" |
10 #include "base/logging.h" | 13 #include "base/logging.h" |
11 #include "base/memory/ref_counted.h" | 14 #include "base/memory/ref_counted.h" |
12 #include "base/strings/string_util.h" | 15 #include "base/strings/string_util.h" |
13 #include "base/strings/utf_string_conversions.h" | 16 #include "base/strings/utf_string_conversions.h" |
14 #include "chrome/browser/extensions/api/file_handlers/app_file_handler_util.h" | 17 #include "chrome/browser/extensions/api/file_handlers/app_file_handler_util.h" |
15 #include "chrome/browser/extensions/api/file_handlers/mime_util.h" | 18 #include "chrome/browser/extensions/api/file_handlers/mime_util.h" |
16 #include "chrome/browser/extensions/api/file_system/file_system_api.h" | 19 #include "chrome/browser/extensions/api/file_system/file_system_api.h" |
(...skipping 383 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
400 void LaunchPlatformAppWithUrl(Profile* profile, | 403 void LaunchPlatformAppWithUrl(Profile* profile, |
401 const Extension* extension, | 404 const Extension* extension, |
402 const std::string& handler_id, | 405 const std::string& handler_id, |
403 const GURL& url, | 406 const GURL& url, |
404 const GURL& referrer_url) { | 407 const GURL& referrer_url) { |
405 AppRuntimeEventRouter::DispatchOnLaunchedEventWithUrl( | 408 AppRuntimeEventRouter::DispatchOnLaunchedEventWithUrl( |
406 profile, extension, handler_id, url, referrer_url); | 409 profile, extension, handler_id, url, referrer_url); |
407 } | 410 } |
408 | 411 |
409 } // namespace apps | 412 } // namespace apps |
OLD | NEW |