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

Side by Side Diff: content/browser/fileapi/dragged_file_util_unittest.cc

Issue 1549113002: Switch to standard integer types in content/browser/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 12 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
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 <stddef.h>
6
5 #include <map> 7 #include <map>
6 #include <queue> 8 #include <queue>
7 #include <set> 9 #include <set>
8 #include <string> 10 #include <string>
9 #include <vector> 11 #include <vector>
10 12
11 #include "base/files/file_enumerator.h" 13 #include "base/files/file_enumerator.h"
12 #include "base/files/file_util.h" 14 #include "base/files/file_util.h"
13 #include "base/files/scoped_temp_dir.h" 15 #include "base/files/scoped_temp_dir.h"
14 #include "base/logging.h" 16 #include "base/logging.h"
17 #include "base/macros.h"
15 #include "base/message_loop/message_loop.h" 18 #include "base/message_loop/message_loop.h"
16 #include "base/time/time.h" 19 #include "base/time/time.h"
20 #include "build/build_config.h"
17 #include "content/public/test/async_file_test_helper.h" 21 #include "content/public/test/async_file_test_helper.h"
18 #include "content/public/test/test_file_system_context.h" 22 #include "content/public/test/test_file_system_context.h"
19 #include "content/test/fileapi_test_file_set.h" 23 #include "content/test/fileapi_test_file_set.h"
20 #include "storage/browser/fileapi/dragged_file_util.h" 24 #include "storage/browser/fileapi/dragged_file_util.h"
21 #include "storage/browser/fileapi/file_system_context.h" 25 #include "storage/browser/fileapi/file_system_context.h"
22 #include "storage/browser/fileapi/file_system_operation_context.h" 26 #include "storage/browser/fileapi/file_system_operation_context.h"
23 #include "storage/browser/fileapi/isolated_context.h" 27 #include "storage/browser/fileapi/isolated_context.h"
24 #include "storage/browser/fileapi/local_file_util.h" 28 #include "storage/browser/fileapi/local_file_util.h"
25 #include "storage/browser/fileapi/native_file_util.h" 29 #include "storage/browser/fileapi/native_file_util.h"
26 #include "testing/gtest/include/gtest/gtest.h" 30 #include "testing/gtest/include/gtest/gtest.h"
(...skipping 515 matching lines...) Expand 10 before | Expand all | Expand 10 after
542 EXPECT_EQ(base::File::FILE_OK, 546 EXPECT_EQ(base::File::FILE_OK,
543 file_util()->Truncate(GetOperationContext().get(), url, 999)); 547 file_util()->Truncate(GetOperationContext().get(), url, 999));
544 ASSERT_EQ(base::File::FILE_OK, 548 ASSERT_EQ(base::File::FILE_OK,
545 file_util()->GetFileInfo(GetOperationContext().get(), url, 549 file_util()->GetFileInfo(GetOperationContext().get(), url,
546 &info, &platform_path)); 550 &info, &platform_path));
547 EXPECT_EQ(999, info.size); 551 EXPECT_EQ(999, info.size);
548 } 552 }
549 } 553 }
550 554
551 } // namespace content 555 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698