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/extensions/api/file_handlers/mime_util.h" | 5 #include "chrome/browser/extensions/api/file_handlers/mime_util.h" |
6 | 6 |
7 #include "base/file_util.h" | |
8 #include "base/files/file_path.h" | 7 #include "base/files/file_path.h" |
| 8 #include "base/files/file_util.h" |
9 #include "chrome/browser/profiles/profile.h" | 9 #include "chrome/browser/profiles/profile.h" |
10 #include "content/public/browser/browser_thread.h" | 10 #include "content/public/browser/browser_thread.h" |
11 #include "net/base/filename_util.h" | 11 #include "net/base/filename_util.h" |
12 #include "net/base/mime_sniffer.h" | 12 #include "net/base/mime_sniffer.h" |
13 #include "net/base/mime_util.h" | 13 #include "net/base/mime_util.h" |
14 #include "webkit/browser/fileapi/file_system_url.h" | 14 #include "webkit/browser/fileapi/file_system_url.h" |
15 | 15 |
16 #if defined(OS_CHROMEOS) | 16 #if defined(OS_CHROMEOS) |
17 #include "chrome/browser/chromeos/file_manager/filesystem_api_util.h" | 17 #include "chrome/browser/chromeos/file_manager/filesystem_api_util.h" |
18 #endif | 18 #endif |
(...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
198 FROM_HERE, base::Bind(callback_, base::Passed(&result_))); | 198 FROM_HERE, base::Bind(callback_, base::Passed(&result_))); |
199 // Release the callback to avoid a circullar reference in case an instance | 199 // Release the callback to avoid a circullar reference in case an instance |
200 // of this class is a member of a ref counted class, which instance is bound | 200 // of this class is a member of a ref counted class, which instance is bound |
201 // to this callback. | 201 // to this callback. |
202 callback_ = CompletionCallback(); | 202 callback_ = CompletionCallback(); |
203 } | 203 } |
204 } | 204 } |
205 | 205 |
206 } // namespace app_file_handler_util | 206 } // namespace app_file_handler_util |
207 } // namespace extensions | 207 } // namespace extensions |
OLD | NEW |