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

Side by Side Diff: chrome/browser/chromeos/file_manager/file_tasks.cc

Issue 442383002: Move storage-related files from webkit/ to new top-level directory storage/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 6 years, 4 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 "chrome/browser/chromeos/file_manager/file_tasks.h" 5 #include "chrome/browser/chromeos/file_manager/file_tasks.h"
6 6
7 #include "apps/launcher.h" 7 #include "apps/launcher.h"
8 #include "base/bind.h" 8 #include "base/bind.h"
9 #include "base/command_line.h" 9 #include "base/command_line.h"
10 #include "base/prefs/pref_service.h" 10 #include "base/prefs/pref_service.h"
(...skipping 15 matching lines...) Expand all
26 #include "chrome/common/extensions/api/file_browser_private.h" 26 #include "chrome/common/extensions/api/file_browser_private.h"
27 #include "chrome/common/extensions/extension_constants.h" 27 #include "chrome/common/extensions/extension_constants.h"
28 #include "chrome/common/pref_names.h" 28 #include "chrome/common/pref_names.h"
29 #include "chromeos/chromeos_switches.h" 29 #include "chromeos/chromeos_switches.h"
30 #include "extensions/browser/extension_host.h" 30 #include "extensions/browser/extension_host.h"
31 #include "extensions/browser/extension_registry.h" 31 #include "extensions/browser/extension_registry.h"
32 #include "extensions/browser/extension_system.h" 32 #include "extensions/browser/extension_system.h"
33 #include "extensions/browser/extension_util.h" 33 #include "extensions/browser/extension_util.h"
34 #include "extensions/common/constants.h" 34 #include "extensions/common/constants.h"
35 #include "extensions/common/extension_set.h" 35 #include "extensions/common/extension_set.h"
36 #include "webkit/browser/fileapi/file_system_url.h" 36 #include "storage/browser/fileapi/file_system_url.h"
37 37
38 using extensions::Extension; 38 using extensions::Extension;
39 using extensions::app_file_handler_util::FindFileHandlersForFiles; 39 using extensions::app_file_handler_util::FindFileHandlersForFiles;
40 using fileapi::FileSystemURL; 40 using storage::FileSystemURL;
41 41
42 namespace file_manager { 42 namespace file_manager {
43 namespace file_tasks { 43 namespace file_tasks {
44 44
45 namespace { 45 namespace {
46 46
47 // The values "file" and "app" are confusing, but cannot be changed easily as 47 // The values "file" and "app" are confusing, but cannot be changed easily as
48 // these are used in default task IDs stored in preferences. 48 // these are used in default task IDs stored in preferences.
49 const char kFileBrowserHandlerTaskType[] = "file"; 49 const char kFileBrowserHandlerTaskType[] = "file";
50 const char kFileHandlerTaskType[] = "app"; 50 const char kFileHandlerTaskType[] = "app";
(...skipping 490 matching lines...) Expand 10 before | Expand all | Expand 10 after
541 DCHECK(!task->is_default()); 541 DCHECK(!task->is_default());
542 if (IsFallbackFileHandler(task->task_descriptor())) { 542 if (IsFallbackFileHandler(task->task_descriptor())) {
543 task->set_is_default(true); 543 task->set_is_default(true);
544 return; 544 return;
545 } 545 }
546 } 546 }
547 } 547 }
548 548
549 } // namespace file_tasks 549 } // namespace file_tasks
550 } // namespace file_manager 550 } // namespace file_manager
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/file_manager/file_tasks.h ('k') | chrome/browser/chromeos/file_manager/fileapi_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698