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

Side by Side Diff: webkit/fileapi/local_file_system_operation_write_unittest.cc

Issue 12388061: Cleanup: header cleanup in webkit/fileapi/local_file_system_operation.h (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 9 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 <vector> 5 #include <vector>
6 6
7 #include "base/files/scoped_temp_dir.h" 7 #include "base/files/scoped_temp_dir.h"
8 #include "base/memory/scoped_ptr.h" 8 #include "base/memory/scoped_ptr.h"
9 #include "base/memory/weak_ptr.h" 9 #include "base/memory/weak_ptr.h"
10 #include "base/message_loop.h" 10 #include "base/message_loop.h"
11 #include "base/message_loop_proxy.h" 11 #include "base/message_loop_proxy.h"
12 #include "googleurl/src/gurl.h" 12 #include "googleurl/src/gurl.h"
13 #include "net/url_request/url_request.h" 13 #include "net/url_request/url_request.h"
14 #include "net/url_request/url_request_context.h" 14 #include "net/url_request/url_request_context.h"
15 #include "net/url_request/url_request_job.h" 15 #include "net/url_request/url_request_job.h"
16 #include "net/url_request/url_request_job_factory_impl.h" 16 #include "net/url_request/url_request_job_factory_impl.h"
17 #include "testing/gtest/include/gtest/gtest.h" 17 #include "testing/gtest/include/gtest/gtest.h"
18 #include "webkit/blob/blob_data.h" 18 #include "webkit/blob/blob_data.h"
19 #include "webkit/blob/blob_storage_controller.h" 19 #include "webkit/blob/blob_storage_controller.h"
20 #include "webkit/blob/blob_url_request_job.h" 20 #include "webkit/blob/blob_url_request_job.h"
21 #include "webkit/blob/mock_blob_url_request_context.h" 21 #include "webkit/blob/mock_blob_url_request_context.h"
22 #include "webkit/fileapi/file_system_context.h"
23 #include "webkit/fileapi/file_system_file_util.h" 22 #include "webkit/fileapi/file_system_file_util.h"
23 #include "webkit/fileapi/file_system_operation_context.h"
24 #include "webkit/fileapi/file_system_util.h" 24 #include "webkit/fileapi/file_system_util.h"
25 #include "webkit/fileapi/local_file_system_operation.h" 25 #include "webkit/fileapi/local_file_system_operation.h"
26 #include "webkit/fileapi/local_file_system_test_helper.h" 26 #include "webkit/fileapi/local_file_system_test_helper.h"
27 #include "webkit/fileapi/local_file_util.h" 27 #include "webkit/fileapi/local_file_util.h"
28 #include "webkit/fileapi/mock_file_change_observer.h" 28 #include "webkit/fileapi/mock_file_change_observer.h"
29 #include "webkit/quota/quota_manager.h" 29 #include "webkit/quota/quota_manager.h"
30 30
31 using quota::QuotaManager; 31 using quota::QuotaManager;
32 using webkit_blob::MockBlobURLRequestContext; 32 using webkit_blob::MockBlobURLRequestContext;
33 using webkit_blob::ScopedTextBlob; 33 using webkit_blob::ScopedTextBlob;
(...skipping 311 matching lines...) Expand 10 before | Expand all | Expand 10 after
345 EXPECT_EQ(base::PLATFORM_FILE_ERROR_ABORT, status()); 345 EXPECT_EQ(base::PLATFORM_FILE_ERROR_ABORT, status());
346 EXPECT_EQ(base::PLATFORM_FILE_OK, cancel_status()); 346 EXPECT_EQ(base::PLATFORM_FILE_OK, cancel_status());
347 EXPECT_TRUE(complete()); 347 EXPECT_TRUE(complete());
348 348
349 EXPECT_EQ(0, change_observer()->get_and_reset_modify_file_count()); 349 EXPECT_EQ(0, change_observer()->get_and_reset_modify_file_count());
350 } 350 }
351 351
352 // TODO(ericu,dmikurube,kinuko): Add more tests for cancel cases. 352 // TODO(ericu,dmikurube,kinuko): Add more tests for cancel cases.
353 353
354 } // namespace fileapi 354 } // namespace fileapi
OLDNEW
« no previous file with comments | « webkit/fileapi/local_file_system_operation_unittest.cc ('k') | webkit/fileapi/local_file_system_quota_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698