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

Side by Side Diff: apps/launcher.cc

Issue 1226353004: Generate all extension schema namespaces as "api" and instead vary the generated bundle names. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 5 years, 5 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 | build/json_schema_api.gni » ('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 24 matching lines...) Expand all
35 #include "extensions/common/extension.h" 35 #include "extensions/common/extension.h"
36 #include "extensions/common/manifest_handlers/kiosk_mode_info.h" 36 #include "extensions/common/manifest_handlers/kiosk_mode_info.h"
37 #include "net/base/filename_util.h" 37 #include "net/base/filename_util.h"
38 #include "net/base/net_util.h" 38 #include "net/base/net_util.h"
39 #include "url/gurl.h" 39 #include "url/gurl.h"
40 40
41 #if defined(OS_CHROMEOS) 41 #if defined(OS_CHROMEOS)
42 #include "components/user_manager/user_manager.h" 42 #include "components/user_manager/user_manager.h"
43 #endif 43 #endif
44 44
45 namespace app_runtime = extensions::core_api::app_runtime; 45 namespace app_runtime = extensions::api::app_runtime;
46 46
47 using content::BrowserThread; 47 using content::BrowserThread;
48 using extensions::AppRuntimeEventRouter; 48 using extensions::AppRuntimeEventRouter;
49 using extensions::app_file_handler_util::CreateFileEntry; 49 using extensions::app_file_handler_util::CreateFileEntry;
50 using extensions::app_file_handler_util::FileHandlerCanHandleFile; 50 using extensions::app_file_handler_util::FileHandlerCanHandleFile;
51 using extensions::app_file_handler_util::FileHandlerForId; 51 using extensions::app_file_handler_util::FileHandlerForId;
52 using extensions::app_file_handler_util::FirstFileHandlerForFile; 52 using extensions::app_file_handler_util::FirstFileHandlerForFile;
53 using extensions::app_file_handler_util::HasFileSystemWritePermission; 53 using extensions::app_file_handler_util::HasFileSystemWritePermission;
54 using extensions::app_file_handler_util::PrepareFilesForWritableApp; 54 using extensions::app_file_handler_util::PrepareFilesForWritableApp;
55 using extensions::EventRouter; 55 using extensions::EventRouter;
(...skipping 367 matching lines...) Expand 10 before | Expand all | Expand 10 after
423 void LaunchPlatformAppWithUrl(Profile* profile, 423 void LaunchPlatformAppWithUrl(Profile* profile,
424 const Extension* extension, 424 const Extension* extension,
425 const std::string& handler_id, 425 const std::string& handler_id,
426 const GURL& url, 426 const GURL& url,
427 const GURL& referrer_url) { 427 const GURL& referrer_url) {
428 AppRuntimeEventRouter::DispatchOnLaunchedEventWithUrl( 428 AppRuntimeEventRouter::DispatchOnLaunchedEventWithUrl(
429 profile, extension, handler_id, url, referrer_url); 429 profile, extension, handler_id, url, referrer_url);
430 } 430 }
431 431
432 } // namespace apps 432 } // namespace apps
OLDNEW
« no previous file with comments | « no previous file | build/json_schema_api.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698