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

Side by Side Diff: chrome/browser/media_galleries/fileapi/native_media_file_util.cc

Issue 16667014: Use a direct include of strings headers in chrome/browser/media_galleries/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 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/media_galleries/fileapi/native_media_file_util.h" 5 #include "chrome/browser/media_galleries/fileapi/native_media_file_util.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/file_util.h" 8 #include "base/file_util.h"
9 #include "base/files/file_enumerator.h" 9 #include "base/files/file_enumerator.h"
10 #include "base/string_util.h" 10 #include "base/strings/string_util.h"
11 #include "base/task_runner_util.h" 11 #include "base/task_runner_util.h"
12 #include "chrome/browser/media_galleries/fileapi/media_file_system_mount_point_p rovider.h" 12 #include "chrome/browser/media_galleries/fileapi/media_file_system_mount_point_p rovider.h"
13 #include "chrome/browser/media_galleries/fileapi/media_path_filter.h" 13 #include "chrome/browser/media_galleries/fileapi/media_path_filter.h"
14 #include "content/public/browser/browser_thread.h" 14 #include "content/public/browser/browser_thread.h"
15 #include "googleurl/src/gurl.h" 15 #include "googleurl/src/gurl.h"
16 #include "net/base/mime_sniffer.h" 16 #include "net/base/mime_sniffer.h"
17 #include "webkit/browser/fileapi/file_system_context.h" 17 #include "webkit/browser/fileapi/file_system_context.h"
18 #include "webkit/browser/fileapi/file_system_operation_context.h" 18 #include "webkit/browser/fileapi/file_system_operation_context.h"
19 #include "webkit/browser/fileapi/file_system_task_runners.h" 19 #include "webkit/browser/fileapi/file_system_task_runners.h"
20 #include "webkit/browser/fileapi/native_file_util.h" 20 #include "webkit/browser/fileapi/native_file_util.h"
(...skipping 612 matching lines...) Expand 10 before | Expand all | Expand 10 after
633 if (!file_info.is_directory && 633 if (!file_info.is_directory &&
634 !GetMediaPathFilter(context)->Match(file_path)) { 634 !GetMediaPathFilter(context)->Match(file_path)) {
635 return failure_error; 635 return failure_error;
636 } 636 }
637 637
638 *local_file_path = file_path; 638 *local_file_path = file_path;
639 return base::PLATFORM_FILE_OK; 639 return base::PLATFORM_FILE_OK;
640 } 640 }
641 641
642 } // namespace chrome 642 } // namespace chrome
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698