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

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

Issue 553983013: Remove storage-related redirect headers in webkit/common/, update #includes and DEPS files to use s… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix DEPS again Created 6 years, 3 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 (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 12 matching lines...) Expand all
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 "google_apis/drive/drive_api_parser.h" 27 #include "google_apis/drive/drive_api_parser.h"
28 #include "google_apis/drive/test_util.h" 28 #include "google_apis/drive/test_util.h"
29 #include "google_apis/drive/time_util.h" 29 #include "google_apis/drive/time_util.h"
30 #include "webkit/browser/fileapi/external_mount_points.h" 30 #include "webkit/browser/fileapi/external_mount_points.h"
31 31
32 // Tests for access to external file systems (as defined in 32 // Tests for access to external file systems (as defined in
33 // webkit/common/fileapi/file_system_types.h) from extensions with 33 // storage/common/fileapi/file_system_types.h) from extensions with
34 // fileBrowserPrivate and fileBrowserHandler extension permissions. 34 // fileBrowserPrivate and fileBrowserHandler extension permissions.
35 // The tests cover following external file system types: 35 // The tests cover following external file system types:
36 // - local (kFileSystemTypeLocalNative): a local file system on which files are 36 // - local (kFileSystemTypeLocalNative): a local file system on which files are
37 // accessed using native local path. 37 // accessed using native local path.
38 // - restricted (kFileSystemTypeRestrictedLocalNative): a *read-only* local file 38 // - restricted (kFileSystemTypeRestrictedLocalNative): a *read-only* local file
39 // system which can only be accessed by extensions that have full access to 39 // system which can only be accessed by extensions that have full access to
40 // external file systems (i.e. extensions with fileBrowserPrivate permission). 40 // external file systems (i.e. extensions with fileBrowserPrivate permission).
41 // - drive (kFileSystemTypeDrive): a file system that provides access to Google 41 // - drive (kFileSystemTypeDrive): a file system that provides access to Google
42 // Drive. 42 // Drive.
43 // 43 //
(...skipping 755 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698