OLD | NEW |
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/prefs/pref_service.h" | 9 #include "base/prefs/pref_service.h" |
10 #include "base/prefs/scoped_user_pref_update.h" | 10 #include "base/prefs/scoped_user_pref_update.h" |
(...skipping 13 matching lines...) Expand all Loading... |
24 #include "chrome/common/extensions/api/file_browser_handlers/file_browser_handle
r.h" | 24 #include "chrome/common/extensions/api/file_browser_handlers/file_browser_handle
r.h" |
25 #include "chrome/common/extensions/api/file_manager_private.h" | 25 #include "chrome/common/extensions/api/file_manager_private.h" |
26 #include "chrome/common/extensions/extension_constants.h" | 26 #include "chrome/common/extensions/extension_constants.h" |
27 #include "chrome/common/pref_names.h" | 27 #include "chrome/common/pref_names.h" |
28 #include "extensions/browser/extension_host.h" | 28 #include "extensions/browser/extension_host.h" |
29 #include "extensions/browser/extension_registry.h" | 29 #include "extensions/browser/extension_registry.h" |
30 #include "extensions/browser/extension_system.h" | 30 #include "extensions/browser/extension_system.h" |
31 #include "extensions/browser/extension_util.h" | 31 #include "extensions/browser/extension_util.h" |
32 #include "extensions/common/constants.h" | 32 #include "extensions/common/constants.h" |
33 #include "extensions/common/extension_set.h" | 33 #include "extensions/common/extension_set.h" |
34 #include "webkit/browser/fileapi/file_system_url.h" | 34 #include "storage/browser/fileapi/file_system_url.h" |
35 | 35 |
36 using extensions::Extension; | 36 using extensions::Extension; |
37 using extensions::app_file_handler_util::FindFileHandlersForFiles; | 37 using extensions::app_file_handler_util::FindFileHandlersForFiles; |
38 using storage::FileSystemURL; | 38 using storage::FileSystemURL; |
39 | 39 |
40 namespace file_manager { | 40 namespace file_manager { |
41 namespace file_tasks { | 41 namespace file_tasks { |
42 | 42 |
43 namespace { | 43 namespace { |
44 | 44 |
(...skipping 471 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
516 DCHECK(!task->is_default()); | 516 DCHECK(!task->is_default()); |
517 if (IsFallbackFileHandler(task->task_descriptor())) { | 517 if (IsFallbackFileHandler(task->task_descriptor())) { |
518 task->set_is_default(true); | 518 task->set_is_default(true); |
519 return; | 519 return; |
520 } | 520 } |
521 } | 521 } |
522 } | 522 } |
523 | 523 |
524 } // namespace file_tasks | 524 } // namespace file_tasks |
525 } // namespace file_manager | 525 } // namespace file_manager |
OLD | NEW |