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

Side by Side Diff: chrome/browser/chromeos/file_manager/external_filesystem_apitest.cc

Issue 644923002: Revert "Add tests for File System URLs with the file:// origin." (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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
« no previous file with comments | « no previous file | chrome/test/data/extensions/api_test/file_browser/filesystem_file_origin_url/background.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 755 matching lines...) Expand 10 before | Expand all | Expand 10 after
766 } 766 }
767 767
768 IN_PROC_BROWSER_TEST_F(DriveFileSystemExtensionApiTest, AppFileHandler) { 768 IN_PROC_BROWSER_TEST_F(DriveFileSystemExtensionApiTest, AppFileHandler) {
769 EXPECT_TRUE(RunFileSystemExtensionApiTest( 769 EXPECT_TRUE(RunFileSystemExtensionApiTest(
770 "file_browser/handler_test_runner", 770 "file_browser/handler_test_runner",
771 FILE_PATH_LITERAL("manifest.json"), 771 FILE_PATH_LITERAL("manifest.json"),
772 "file_browser/app_file_handler", 772 "file_browser/app_file_handler",
773 FLAGS_USE_FILE_HANDLER)) << message_; 773 FLAGS_USE_FILE_HANDLER)) << message_;
774 } 774 }
775 775
776 IN_PROC_BROWSER_TEST_F(DriveFileSystemExtensionApiTest,
777 FileSystemFileOriginURL) {
778 EXPECT_TRUE(RunFileSystemExtensionApiTest(
779 "file_browser/filesystem_file_origin_url",
780 FILE_PATH_LITERAL("manifest.json"),
781 "",
782 FLAGS_NONE)) << message_;
783 }
784
785 IN_PROC_BROWSER_TEST_F(MultiProfileDriveFileSystemExtensionApiTest, 776 IN_PROC_BROWSER_TEST_F(MultiProfileDriveFileSystemExtensionApiTest,
786 CrossProfileCopy) { 777 CrossProfileCopy) {
787 ASSERT_TRUE(AddTestHostedDocuments()); 778 ASSERT_TRUE(AddTestHostedDocuments());
788 EXPECT_TRUE(RunFileSystemExtensionApiTest( 779 EXPECT_TRUE(RunFileSystemExtensionApiTest(
789 "file_browser/multi_profile_copy", 780 "file_browser/multi_profile_copy",
790 FILE_PATH_LITERAL("manifest.json"), 781 FILE_PATH_LITERAL("manifest.json"),
791 "", 782 "",
792 FLAGS_NONE)) << message_; 783 FLAGS_NONE)) << message_;
793 } 784 }
794 785
795 // 786 //
796 // LocalAndDriveFileSystemExtensionApiTests. 787 // LocalAndDriveFileSystemExtensionApiTests.
797 // 788 //
798 IN_PROC_BROWSER_TEST_F(LocalAndDriveFileSystemExtensionApiTest, 789 IN_PROC_BROWSER_TEST_F(LocalAndDriveFileSystemExtensionApiTest,
799 AppFileHandlerMulti) { 790 AppFileHandlerMulti) {
800 EXPECT_TRUE( 791 EXPECT_TRUE(
801 RunFileSystemExtensionApiTest("file_browser/app_file_handler_multi", 792 RunFileSystemExtensionApiTest("file_browser/app_file_handler_multi",
802 FILE_PATH_LITERAL("manifest.json"), 793 FILE_PATH_LITERAL("manifest.json"),
803 "", 794 "",
804 FLAGS_NONE)) 795 FLAGS_NONE))
805 << message_; 796 << message_;
806 } 797 }
807 } // namespace 798 } // namespace
808 } // namespace file_manager 799 } // namespace file_manager
OLDNEW
« no previous file with comments | « no previous file | chrome/test/data/extensions/api_test/file_browser/filesystem_file_origin_url/background.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698