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 "base/bind.h" | 5 #include "base/bind.h" |
6 #include "base/files/file_path.h" | 6 #include "base/files/file_path.h" |
7 #include "base/files/file_util.h" | 7 #include "base/files/file_util.h" |
8 #include "base/files/scoped_temp_dir.h" | 8 #include "base/files/scoped_temp_dir.h" |
9 #include "base/path_service.h" | 9 #include "base/path_service.h" |
10 #include "chrome/browser/browser_process.h" | 10 #include "chrome/browser/browser_process.h" |
(...skipping 10 matching lines...) Expand all Loading... |
21 #include "chrome/common/chrome_paths.h" | 21 #include "chrome/common/chrome_paths.h" |
22 #include "components/user_manager/user_manager.h" | 22 #include "components/user_manager/user_manager.h" |
23 #include "content/public/browser/browser_context.h" | 23 #include "content/public/browser/browser_context.h" |
24 #include "content/public/browser/notification_service.h" | 24 #include "content/public/browser/notification_service.h" |
25 #include "content/public/test/test_utils.h" | 25 #include "content/public/test/test_utils.h" |
26 #include "extensions/browser/notification_types.h" | 26 #include "extensions/browser/notification_types.h" |
27 #include "extensions/test/result_catcher.h" | 27 #include "extensions/test/result_catcher.h" |
28 #include "google_apis/drive/drive_api_parser.h" | 28 #include "google_apis/drive/drive_api_parser.h" |
29 #include "google_apis/drive/test_util.h" | 29 #include "google_apis/drive/test_util.h" |
30 #include "google_apis/drive/time_util.h" | 30 #include "google_apis/drive/time_util.h" |
31 #include "webkit/browser/fileapi/external_mount_points.h" | 31 #include "storage/browser/fileapi/external_mount_points.h" |
32 | 32 |
33 // Tests for access to external file systems (as defined in | 33 // Tests for access to external file systems (as defined in |
34 // storage/common/fileapi/file_system_types.h) from extensions with | 34 // storage/common/fileapi/file_system_types.h) from extensions with |
35 // fileManagerPrivate and fileBrowserHandler extension permissions. | 35 // fileManagerPrivate and fileBrowserHandler extension permissions. |
36 // The tests cover following external file system types: | 36 // The tests cover following external file system types: |
37 // - local (kFileSystemTypeLocalNative): a local file system on which files are | 37 // - local (kFileSystemTypeLocalNative): a local file system on which files are |
38 // accessed using native local path. | 38 // accessed using native local path. |
39 // - restricted (kFileSystemTypeRestrictedLocalNative): a *read-only* local file | 39 // - restricted (kFileSystemTypeRestrictedLocalNative): a *read-only* local file |
40 // system which can only be accessed by extensions that have full access to | 40 // system which can only be accessed by extensions that have full access to |
41 // external file systems (i.e. extensions with fileManagerPrivate permission). | 41 // external file systems (i.e. extensions with fileManagerPrivate permission). |
(...skipping 757 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
799 AppFileHandlerMulti) { | 799 AppFileHandlerMulti) { |
800 EXPECT_TRUE( | 800 EXPECT_TRUE( |
801 RunFileSystemExtensionApiTest("file_browser/app_file_handler_multi", | 801 RunFileSystemExtensionApiTest("file_browser/app_file_handler_multi", |
802 FILE_PATH_LITERAL("manifest.json"), | 802 FILE_PATH_LITERAL("manifest.json"), |
803 "", | 803 "", |
804 FLAGS_NONE)) | 804 FLAGS_NONE)) |
805 << message_; | 805 << message_; |
806 } | 806 } |
807 } // namespace | 807 } // namespace |
808 } // namespace file_manager | 808 } // namespace file_manager |
OLD | NEW |