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 <stddef.h> |
| 8 |
7 #include "apps/launcher.h" | 9 #include "apps/launcher.h" |
8 #include "base/bind.h" | 10 #include "base/bind.h" |
| 11 #include "base/macros.h" |
9 #include "base/prefs/pref_service.h" | 12 #include "base/prefs/pref_service.h" |
10 #include "base/prefs/scoped_user_pref_update.h" | 13 #include "base/prefs/scoped_user_pref_update.h" |
11 #include "base/strings/string_split.h" | 14 #include "base/strings/string_split.h" |
12 #include "base/strings/stringprintf.h" | 15 #include "base/strings/stringprintf.h" |
13 #include "chrome/browser/chromeos/drive/file_system_util.h" | 16 #include "chrome/browser/chromeos/drive/file_system_util.h" |
14 #include "chrome/browser/chromeos/drive/file_task_executor.h" | 17 #include "chrome/browser/chromeos/drive/file_task_executor.h" |
15 #include "chrome/browser/chromeos/file_manager/app_id.h" | 18 #include "chrome/browser/chromeos/file_manager/app_id.h" |
16 #include "chrome/browser/chromeos/file_manager/file_browser_handlers.h" | 19 #include "chrome/browser/chromeos/file_manager/file_browser_handlers.h" |
17 #include "chrome/browser/chromeos/file_manager/fileapi_util.h" | 20 #include "chrome/browser/chromeos/file_manager/fileapi_util.h" |
18 #include "chrome/browser/chromeos/file_manager/open_util.h" | 21 #include "chrome/browser/chromeos/file_manager/open_util.h" |
(...skipping 542 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
561 DCHECK(!task->is_default()); | 564 DCHECK(!task->is_default()); |
562 if (IsFallbackFileHandler(task->task_descriptor())) { | 565 if (IsFallbackFileHandler(task->task_descriptor())) { |
563 task->set_is_default(true); | 566 task->set_is_default(true); |
564 return; | 567 return; |
565 } | 568 } |
566 } | 569 } |
567 } | 570 } |
568 | 571 |
569 } // namespace file_tasks | 572 } // namespace file_tasks |
570 } // namespace file_manager | 573 } // namespace file_manager |
OLD | NEW |