OLD | NEW |
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 "chrome/browser/chromeos/extensions/file_manager/private_api_tasks.h" | 5 #include "chrome/browser/chromeos/extensions/file_manager/private_api_tasks.h" |
6 | 6 |
7 #include <stddef.h> | 7 #include <stddef.h> |
8 | 8 |
9 #include <set> | 9 #include <set> |
10 #include <string> | 10 #include <string> |
11 #include <vector> | 11 #include <vector> |
12 | 12 |
13 #include "base/memory/ptr_util.h" | 13 #include "base/memory/ptr_util.h" |
14 #include "chrome/browser/chromeos/drive/file_system_util.h" | 14 #include "chrome/browser/chromeos/drive/file_system_util.h" |
15 #include "chrome/browser/chromeos/file_manager/fileapi_util.h" | 15 #include "chrome/browser/chromeos/file_manager/fileapi_util.h" |
16 #include "chrome/browser/chromeos/fileapi/file_system_backend.h" | 16 #include "chrome/browser/chromeos/fileapi/file_system_backend.h" |
17 #include "chrome/browser/extensions/api/file_handlers/directory_util.h" | |
18 #include "chrome/browser/extensions/api/file_handlers/mime_util.h" | |
19 #include "chrome/browser/profiles/profile.h" | 17 #include "chrome/browser/profiles/profile.h" |
20 #include "chrome/common/extensions/api/file_manager_private.h" | 18 #include "chrome/common/extensions/api/file_manager_private.h" |
21 #include "chrome/common/extensions/api/file_manager_private_internal.h" | 19 #include "chrome/common/extensions/api/file_manager_private_internal.h" |
22 #include "content/public/browser/browser_thread.h" | 20 #include "content/public/browser/browser_thread.h" |
| 21 #include "extensions/browser/api/file_handlers/directory_util.h" |
| 22 #include "extensions/browser/api/file_handlers/mime_util.h" |
23 #include "extensions/browser/entry_info.h" | 23 #include "extensions/browser/entry_info.h" |
24 #include "net/base/filename_util.h" | 24 #include "net/base/filename_util.h" |
25 #include "storage/browser/fileapi/file_system_context.h" | 25 #include "storage/browser/fileapi/file_system_context.h" |
26 #include "storage/browser/fileapi/file_system_url.h" | 26 #include "storage/browser/fileapi/file_system_url.h" |
27 | 27 |
28 using content::BrowserThread; | 28 using content::BrowserThread; |
29 using storage::FileSystemURL; | 29 using storage::FileSystemURL; |
30 | 30 |
31 namespace extensions { | 31 namespace extensions { |
32 namespace { | 32 namespace { |
(...skipping 209 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
242 return RespondNow( | 242 return RespondNow( |
243 OneArgument(base::MakeUnique<base::FundamentalValue>(true))); | 243 OneArgument(base::MakeUnique<base::FundamentalValue>(true))); |
244 } | 244 } |
245 | 245 |
246 file_manager::file_tasks::UpdateDefaultTask( | 246 file_manager::file_tasks::UpdateDefaultTask( |
247 profile->GetPrefs(), params->task_id, suffixes, mime_types); | 247 profile->GetPrefs(), params->task_id, suffixes, mime_types); |
248 return RespondNow(NoArguments()); | 248 return RespondNow(NoArguments()); |
249 } | 249 } |
250 | 250 |
251 } // namespace extensions | 251 } // namespace extensions |
OLD | NEW |