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

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

Issue 15078003: Cleanup: Remove unneeded base/file_util.h includes in base. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: rebase Created 7 years, 7 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 <set> 5 #include <set>
6 #include <string> 6 #include <string>
7 7
8 #include "base/bind.h" 8 #include "base/bind.h"
9 #include "base/file_util.h"
9 #include "base/files/scoped_temp_dir.h" 10 #include "base/files/scoped_temp_dir.h"
10 #include "base/format_macros.h" 11 #include "base/format_macros.h"
11 #include "base/message_loop.h" 12 #include "base/message_loop.h"
12 #include "base/stringprintf.h" 13 #include "base/stringprintf.h"
13 #include "base/time.h" 14 #include "base/time.h"
14 #include "chrome/browser/media_galleries/fileapi/media_file_system_mount_point_p rovider.h" 15 #include "chrome/browser/media_galleries/fileapi/media_file_system_mount_point_p rovider.h"
15 #include "chrome/browser/media_galleries/fileapi/native_media_file_util.h" 16 #include "chrome/browser/media_galleries/fileapi/native_media_file_util.h"
16 #include "testing/gtest/include/gtest/gtest.h" 17 #include "testing/gtest/include/gtest/gtest.h"
17 #include "webkit/fileapi/external_mount_points.h" 18 #include "webkit/fileapi/external_mount_points.h"
18 #include "webkit/fileapi/file_system_context.h" 19 #include "webkit/fileapi/file_system_context.h"
(...skipping 625 matching lines...) Expand 10 before | Expand all | Expand 10 after
644 expected_error = base::PLATFORM_FILE_ERROR_SECURITY; 645 expected_error = base::PLATFORM_FILE_ERROR_SECURITY;
645 error = base::PLATFORM_FILE_ERROR_FAILED; 646 error = base::PLATFORM_FILE_ERROR_FAILED;
646 operation->CreateSnapshotFile(url, 647 operation->CreateSnapshotFile(url,
647 base::Bind(CreateSnapshotCallback, &error)); 648 base::Bind(CreateSnapshotCallback, &error));
648 MessageLoop::current()->RunUntilIdle(); 649 MessageLoop::current()->RunUntilIdle();
649 ASSERT_EQ(expected_error, error); 650 ASSERT_EQ(expected_error, error);
650 } 651 }
651 } 652 }
652 653
653 } // namespace chrome 654 } // namespace chrome
OLDNEW
« no previous file with comments | « chrome/browser/media_galleries/fileapi/native_media_file_util.cc ('k') | chrome/browser/nacl_host/nacl_browser.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698