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

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

Issue 2815743002: Move a couple of blob tests next to the files they cover. (Closed)
Patch Set: Fix gn check, take 2. Created 3 years, 8 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 "storage/browser/fileapi/file_system_context.h" 5 #include "storage/browser/fileapi/file_system_context.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 8
9 #include "base/files/scoped_temp_dir.h" 9 #include "base/files/scoped_temp_dir.h"
10 #include "base/macros.h" 10 #include "base/macros.h"
11 #include "base/strings/stringprintf.h" 11 #include "base/strings/stringprintf.h"
12 #include "base/test/scoped_task_environment.h" 12 #include "base/test/scoped_task_environment.h"
13 #include "base/threading/thread_task_runner_handle.h" 13 #include "base/threading/thread_task_runner_handle.h"
14 #include "build/build_config.h" 14 #include "build/build_config.h"
15 #include "content/browser/quota/mock_quota_manager.h" 15 #include "content/browser/quota/mock_quota_manager.h"
16 #include "content/public/test/mock_special_storage_policy.h"
17 #include "content/public/test/test_file_system_options.h"
18 #include "storage/browser/fileapi/external_mount_points.h" 16 #include "storage/browser/fileapi/external_mount_points.h"
19 #include "storage/browser/fileapi/file_system_backend.h" 17 #include "storage/browser/fileapi/file_system_backend.h"
20 #include "storage/browser/fileapi/isolated_context.h" 18 #include "storage/browser/fileapi/isolated_context.h"
19 #include "storage/browser/test/mock_special_storage_policy.h"
20 #include "storage/browser/test/test_file_system_options.h"
21 #include "testing/gtest/include/gtest/gtest.h" 21 #include "testing/gtest/include/gtest/gtest.h"
22 22
23 #define FPL(x) FILE_PATH_LITERAL(x) 23 #define FPL(x) FILE_PATH_LITERAL(x)
24 24
25 #if defined(FILE_PATH_USES_DRIVE_LETTERS) 25 #if defined(FILE_PATH_USES_DRIVE_LETTERS)
26 #define DRIVE FPL("C:") 26 #define DRIVE FPL("C:")
27 #else 27 #else
28 #define DRIVE 28 #define DRIVE
29 #endif 29 #endif
30 30
(...skipping 352 matching lines...) Expand 10 before | Expand all | Expand 10 after
383 storage::kFileSystemTypeForTransientFile)); 383 storage::kFileSystemTypeForTransientFile));
384 EXPECT_TRUE(file_system_context->GetFileSystemBackend( 384 EXPECT_TRUE(file_system_context->GetFileSystemBackend(
385 storage::kFileSystemTypeNativeLocal)); 385 storage::kFileSystemTypeNativeLocal));
386 EXPECT_TRUE(file_system_context->GetFileSystemBackend( 386 EXPECT_TRUE(file_system_context->GetFileSystemBackend(
387 storage::kFileSystemTypeNativeForPlatformApp)); 387 storage::kFileSystemTypeNativeForPlatformApp));
388 } 388 }
389 389
390 } // namespace 390 } // namespace
391 391
392 } // namespace content 392 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698