Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(258)

Side by Side Diff: apps/launcher.cc

Issue 559523004: Cleanup: Remove unneeded extension_messages.h usage and ifdef out some extensions code usage when e… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | chrome/browser/about_flags.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/about_flags.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698