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

Side by Side Diff: content/browser/fileapi/obfuscated_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>
5 #include <stdint.h> 6 #include <stdint.h>
6 7
7 #include <limits> 8 #include <limits>
8 #include <set> 9 #include <set>
9 #include <string> 10 #include <string>
10 #include <vector> 11 #include <vector>
11 12
12 #include "base/bind.h" 13 #include "base/bind.h"
13 #include "base/files/file.h" 14 #include "base/files/file.h"
14 #include "base/files/file_path.h" 15 #include "base/files/file_path.h"
15 #include "base/files/file_util.h" 16 #include "base/files/file_util.h"
16 #include "base/files/scoped_temp_dir.h" 17 #include "base/files/scoped_temp_dir.h"
18 #include "base/macros.h"
17 #include "base/memory/scoped_ptr.h" 19 #include "base/memory/scoped_ptr.h"
18 #include "base/run_loop.h" 20 #include "base/run_loop.h"
19 #include "base/thread_task_runner_handle.h" 21 #include "base/thread_task_runner_handle.h"
22 #include "build/build_config.h"
20 #include "content/browser/fileapi/mock_file_change_observer.h" 23 #include "content/browser/fileapi/mock_file_change_observer.h"
21 #include "content/public/test/async_file_test_helper.h" 24 #include "content/public/test/async_file_test_helper.h"
22 #include "content/public/test/mock_special_storage_policy.h" 25 #include "content/public/test/mock_special_storage_policy.h"
23 #include "content/public/test/sandbox_file_system_test_helper.h" 26 #include "content/public/test/sandbox_file_system_test_helper.h"
24 #include "content/public/test/test_file_system_context.h" 27 #include "content/public/test/test_file_system_context.h"
25 #include "content/test/fileapi_test_file_set.h" 28 #include "content/test/fileapi_test_file_set.h"
26 #include "storage/browser/fileapi/external_mount_points.h" 29 #include "storage/browser/fileapi/external_mount_points.h"
27 #include "storage/browser/fileapi/file_system_backend.h" 30 #include "storage/browser/fileapi/file_system_backend.h"
28 #include "storage/browser/fileapi/file_system_context.h" 31 #include "storage/browser/fileapi/file_system_context.h"
29 #include "storage/browser/fileapi/file_system_operation_context.h" 32 #include "storage/browser/fileapi/file_system_operation_context.h"
(...skipping 2534 matching lines...) Expand 10 before | Expand all | Expand 10 after
2564 ofu()->GetDirectoryForOriginAndType( 2567 ofu()->GetDirectoryForOriginAndType(
2565 origin2, GetTypeString(kFileSystemTypeTemporary), false, &error); 2568 origin2, GetTypeString(kFileSystemTypeTemporary), false, &error);
2566 ASSERT_EQ(base::File::FILE_OK, error); 2569 ASSERT_EQ(base::File::FILE_OK, error);
2567 error = base::File::FILE_ERROR_FAILED; 2570 error = base::File::FILE_ERROR_FAILED;
2568 ofu()->GetDirectoryForOriginAndType( 2571 ofu()->GetDirectoryForOriginAndType(
2569 origin2, GetTypeString(kFileSystemTypePersistent), false, &error); 2572 origin2, GetTypeString(kFileSystemTypePersistent), false, &error);
2570 ASSERT_EQ(base::File::FILE_OK, error); 2573 ASSERT_EQ(base::File::FILE_OK, error);
2571 } 2574 }
2572 2575
2573 } // namespace content 2576 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698