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

Side by Side Diff: webkit/browser/fileapi/isolated_file_util_unittest.cc

Issue 19633002: Use a direct include of the message_loop header in webkit/, part 1. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 5 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 <map> 5 #include <map>
6 #include <queue> 6 #include <queue>
7 #include <set> 7 #include <set>
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
11 #include "base/file_util.h" 11 #include "base/file_util.h"
12 #include "base/files/file_enumerator.h" 12 #include "base/files/file_enumerator.h"
13 #include "base/files/scoped_temp_dir.h" 13 #include "base/files/scoped_temp_dir.h"
14 #include "base/logging.h" 14 #include "base/logging.h"
15 #include "base/message_loop.h" 15 #include "base/message_loop/message_loop.h"
16 #include "base/message_loop/message_loop_proxy.h" 16 #include "base/message_loop/message_loop_proxy.h"
17 #include "base/time/time.h" 17 #include "base/time/time.h"
18 #include "testing/gtest/include/gtest/gtest.h" 18 #include "testing/gtest/include/gtest/gtest.h"
19 #include "webkit/browser/fileapi/async_file_test_helper.h" 19 #include "webkit/browser/fileapi/async_file_test_helper.h"
20 #include "webkit/browser/fileapi/file_system_context.h" 20 #include "webkit/browser/fileapi/file_system_context.h"
21 #include "webkit/browser/fileapi/file_system_operation_context.h" 21 #include "webkit/browser/fileapi/file_system_operation_context.h"
22 #include "webkit/browser/fileapi/file_system_task_runners.h" 22 #include "webkit/browser/fileapi/file_system_task_runners.h"
23 #include "webkit/browser/fileapi/isolated_context.h" 23 #include "webkit/browser/fileapi/isolated_context.h"
24 #include "webkit/browser/fileapi/isolated_file_util.h" 24 #include "webkit/browser/fileapi/isolated_file_util.h"
25 #include "webkit/browser/fileapi/local_file_system_operation.h" 25 #include "webkit/browser/fileapi/local_file_system_operation.h"
(...skipping 514 matching lines...) Expand 10 before | Expand all | Expand 10 after
540 EXPECT_EQ(base::PLATFORM_FILE_OK, 540 EXPECT_EQ(base::PLATFORM_FILE_OK,
541 file_util()->Truncate(GetOperationContext().get(), url, 999)); 541 file_util()->Truncate(GetOperationContext().get(), url, 999));
542 ASSERT_EQ(base::PLATFORM_FILE_OK, 542 ASSERT_EQ(base::PLATFORM_FILE_OK,
543 file_util()->GetFileInfo(GetOperationContext().get(), url, 543 file_util()->GetFileInfo(GetOperationContext().get(), url,
544 &info, &platform_path)); 544 &info, &platform_path));
545 EXPECT_EQ(999, info.size); 545 EXPECT_EQ(999, info.size);
546 } 546 }
547 } 547 }
548 548
549 } // namespace fileapi 549 } // namespace fileapi
OLDNEW
« no previous file with comments | « webkit/browser/fileapi/file_writer_delegate_unittest.cc ('k') | webkit/browser/fileapi/local_file_stream_writer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698