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

Side by Side Diff: apps/launcher.cc

Issue 2621193002: Remove unused FirstFileHandlerForEntry() (Closed)
Patch Set: Created 3 years, 11 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/extensions/api/file_handlers/app_file_handler_util.h » ('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 <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
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
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
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/extensions/api/file_handlers/app_file_handler_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698