Commit 68a2186a authored by pilgrim@chromium.org's avatar pilgrim@chromium.org

Move local_file_stream_reader_unittest from webkit/ to content/

BUG=338338
TBR=darin@chromium.org

Review URL: https://codereview.chromium.org/295933007

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@272076 0039d316-1c4b-4281-b951-d872f2087c98
parent 4c4e41d6
// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be // Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file. // found in the LICENSE file.
...@@ -18,7 +18,9 @@ ...@@ -18,7 +18,9 @@
#include "net/base/test_completion_callback.h" #include "net/base/test_completion_callback.h"
#include "testing/gtest/include/gtest/gtest.h" #include "testing/gtest/include/gtest/gtest.h"
namespace webkit_blob { using webkit_blob::LocalFileStreamReader;
namespace content {
namespace { namespace {
...@@ -253,4 +255,4 @@ TEST_F(LocalFileStreamReaderTest, DeleteWithUnfinishedRead) { ...@@ -253,4 +255,4 @@ TEST_F(LocalFileStreamReaderTest, DeleteWithUnfinishedRead) {
EnsureFileTaskFinished(); EnsureFileTaskFinished();
} }
} // namespace webkit_blob } // namespace content
...@@ -444,6 +444,7 @@ ...@@ -444,6 +444,7 @@
'browser/fileapi/file_writer_delegate_unittest.cc', 'browser/fileapi/file_writer_delegate_unittest.cc',
'browser/fileapi/fileapi_message_filter_unittest.cc', 'browser/fileapi/fileapi_message_filter_unittest.cc',
'browser/fileapi/isolated_context_unittest.cc', 'browser/fileapi/isolated_context_unittest.cc',
'browser/fileapi/local_file_stream_reader_unittest.cc',
'browser/fileapi/local_file_stream_writer_unittest.cc', 'browser/fileapi/local_file_stream_writer_unittest.cc',
'browser/fileapi/local_file_util_unittest.cc', 'browser/fileapi/local_file_util_unittest.cc',
'browser/fileapi/mock_file_change_observer.cc', 'browser/fileapi/mock_file_change_observer.cc',
...@@ -693,7 +694,6 @@ ...@@ -693,7 +694,6 @@
'test/image_decoder_test.cc', 'test/image_decoder_test.cc',
'test/image_decoder_test.h', 'test/image_decoder_test.h',
'test/run_all_unittests.cc', 'test/run_all_unittests.cc',
'../webkit/browser/blob/local_file_stream_reader_unittest.cc',
'../webkit/child/multipart_response_delegate_unittest.cc', '../webkit/child/multipart_response_delegate_unittest.cc',
], ],
'conditions': [ 'conditions': [
......
...@@ -18,6 +18,10 @@ namespace base { ...@@ -18,6 +18,10 @@ namespace base {
class TaskRunner; class TaskRunner;
} }
namespace content {
class LocalFileStreamReaderTest;
}
namespace net { namespace net {
class FileStream; class FileStream;
} }
...@@ -39,7 +43,7 @@ class WEBKIT_STORAGE_BROWSER_EXPORT LocalFileStreamReader ...@@ -39,7 +43,7 @@ class WEBKIT_STORAGE_BROWSER_EXPORT LocalFileStreamReader
private: private:
friend class FileStreamReader; friend class FileStreamReader;
friend class LocalFileStreamReaderTest; friend class content::LocalFileStreamReaderTest;
LocalFileStreamReader(base::TaskRunner* task_runner, LocalFileStreamReader(base::TaskRunner* task_runner,
const base::FilePath& file_path, const base::FilePath& file_path,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment