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