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

Unified Diff: content/browser/fileapi/blob_url_request_job_unittest.cc

Issue 23440033: Move FileAPI test code from webkit to content (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/chrome_tests_unit.gypi ('k') | content/browser/fileapi/copy_or_move_file_validator_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/fileapi/blob_url_request_job_unittest.cc
diff --git a/webkit/browser/blob/blob_url_request_job_unittest.cc b/content/browser/fileapi/blob_url_request_job_unittest.cc
similarity index 99%
rename from webkit/browser/blob/blob_url_request_job_unittest.cc
rename to content/browser/fileapi/blob_url_request_job_unittest.cc
index e2bc55e5662cf29f5cf7eea06ee13c80ad26d550..9691cd535da4815db210c91a65a5f0ab921aa42e 100644
--- a/webkit/browser/blob/blob_url_request_job_unittest.cc
+++ b/content/browser/fileapi/blob_url_request_job_unittest.cc
@@ -10,6 +10,7 @@
#include "base/memory/scoped_ptr.h"
#include "base/run_loop.h"
#include "base/time/time.h"
+#include "content/public/test/test_file_system_context.h"
#include "net/base/io_buffer.h"
#include "net/http/http_request_headers.h"
#include "net/http/http_response_headers.h"
@@ -22,7 +23,6 @@
#include "webkit/browser/fileapi/file_system_context.h"
#include "webkit/browser/fileapi/file_system_operation_context.h"
#include "webkit/browser/fileapi/file_system_url.h"
-#include "webkit/browser/fileapi/mock_file_system_context.h"
#include "webkit/common/blob/blob_data.h"
namespace webkit_blob {
@@ -305,7 +305,8 @@ TEST_F(BlobURLRequestJobTest, TestGetSimpleFileRequest) {
}
TEST_F(BlobURLRequestJobTest, TestGetLargeFileRequest) {
- base::FilePath large_temp_file = temp_dir_.path().AppendASCII("LargeBlob.dat");
+ base::FilePath large_temp_file =
+ temp_dir_.path().AppendASCII("LargeBlob.dat");
std::string large_data;
large_data.reserve(kBufferSize * 5);
for (int i = 0; i < kBufferSize * 5; ++i)
« no previous file with comments | « chrome/chrome_tests_unit.gypi ('k') | content/browser/fileapi/copy_or_move_file_validator_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698