| OLD | NEW |
| 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 <string> | 5 #include <string> |
| 6 | 6 |
| 7 #include "base/basictypes.h" | 7 #include "base/basictypes.h" |
| 8 #include "base/logging.h" | 8 #include "base/logging.h" |
| 9 #include "testing/gtest/include/gtest/gtest.h" | 9 #include "testing/gtest/include/gtest/gtest.h" |
| 10 #include "webkit/browser/fileapi/isolated_context.h" |
| 10 #include "webkit/fileapi/file_system_url.h" | 11 #include "webkit/fileapi/file_system_url.h" |
| 11 #include "webkit/fileapi/isolated_context.h" | |
| 12 | 12 |
| 13 #define FPL(x) FILE_PATH_LITERAL(x) | 13 #define FPL(x) FILE_PATH_LITERAL(x) |
| 14 | 14 |
| 15 #if defined(FILE_PATH_USES_DRIVE_LETTERS) | 15 #if defined(FILE_PATH_USES_DRIVE_LETTERS) |
| 16 #define DRIVE FPL("C:") | 16 #define DRIVE FPL("C:") |
| 17 #else | 17 #else |
| 18 #define DRIVE | 18 #define DRIVE |
| 19 #endif | 19 #endif |
| 20 | 20 |
| 21 namespace fileapi { | 21 namespace fileapi { |
| (...skipping 273 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 295 fileapi::kFileSystemTypeNativeLocal)); | 295 fileapi::kFileSystemTypeNativeLocal)); |
| 296 EXPECT_FALSE(isolated_context()->HandlesFileSystemMountType( | 296 EXPECT_FALSE(isolated_context()->HandlesFileSystemMountType( |
| 297 fileapi::kFileSystemTypeDragged)); | 297 fileapi::kFileSystemTypeDragged)); |
| 298 EXPECT_FALSE(isolated_context()->HandlesFileSystemMountType( | 298 EXPECT_FALSE(isolated_context()->HandlesFileSystemMountType( |
| 299 fileapi::kFileSystemTypeNativeMedia)); | 299 fileapi::kFileSystemTypeNativeMedia)); |
| 300 EXPECT_FALSE(isolated_context()->HandlesFileSystemMountType( | 300 EXPECT_FALSE(isolated_context()->HandlesFileSystemMountType( |
| 301 fileapi::kFileSystemTypeDeviceMedia)); | 301 fileapi::kFileSystemTypeDeviceMedia)); |
| 302 } | 302 } |
| 303 | 303 |
| 304 } // namespace fileapi | 304 } // namespace fileapi |
| OLD | NEW |