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

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

Issue 96413002: Move c/b/google_apis to google_apis/drive. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 7 years 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 | Annotate | Revision Log
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/file_util.h" 6 #include "base/file_util.h"
7 #include "base/files/file_path.h" 7 #include "base/files/file_path.h"
8 #include "base/files/scoped_temp_dir.h" 8 #include "base/files/scoped_temp_dir.h"
9 #include "chrome/browser/chrome_notification_types.h" 9 #include "chrome/browser/chrome_notification_types.h"
10 #include "chrome/browser/chromeos/drive/drive_integration_service.h" 10 #include "chrome/browser/chromeos/drive/drive_integration_service.h"
11 #include "chrome/browser/chromeos/file_manager/drive_test_util.h" 11 #include "chrome/browser/chromeos/file_manager/drive_test_util.h"
12 #include "chrome/browser/drive/fake_drive_service.h" 12 #include "chrome/browser/drive/fake_drive_service.h"
13 #include "chrome/browser/extensions/extension_apitest.h" 13 #include "chrome/browser/extensions/extension_apitest.h"
14 #include "chrome/browser/google_apis/test_util.h"
15 #include "chrome/browser/profiles/profile.h" 14 #include "chrome/browser/profiles/profile.h"
16 #include "chrome/browser/ui/browser.h" 15 #include "chrome/browser/ui/browser.h"
17 #include "content/public/browser/browser_context.h" 16 #include "content/public/browser/browser_context.h"
18 #include "content/public/browser/notification_service.h" 17 #include "content/public/browser/notification_service.h"
19 #include "content/public/test/test_utils.h" 18 #include "content/public/test/test_utils.h"
19 #include "google_apis/drive/test_util.h"
20 #include "webkit/browser/fileapi/external_mount_points.h" 20 #include "webkit/browser/fileapi/external_mount_points.h"
21 21
22 // Tests for access to external file systems (as defined in 22 // Tests for access to external file systems (as defined in
23 // webkit/common/fileapi/file_system_types.h) from extensions with 23 // webkit/common/fileapi/file_system_types.h) from extensions with
24 // fileBrowserPrivate and fileBrowserHandler extension permissions. 24 // fileBrowserPrivate and fileBrowserHandler extension permissions.
25 // The tests cover following external file system types: 25 // The tests cover following external file system types:
26 // - local (kFileSystemTypeLocalNative): a local file system on which files are 26 // - local (kFileSystemTypeLocalNative): a local file system on which files are
27 // accessed using native local path. 27 // accessed using native local path.
28 // - restricted (kFileSystemTypeRestrictedLocalNative): a *read-only* local file 28 // - restricted (kFileSystemTypeRestrictedLocalNative): a *read-only* local file
29 // system which can only be accessed by extensions that have full access to 29 // system which can only be accessed by extensions that have full access to
(...skipping 395 matching lines...) Expand 10 before | Expand all | Expand 10 after
425 fake_drive_service_->set_default_max_results(1); 425 fake_drive_service_->set_default_max_results(1);
426 EXPECT_TRUE(RunFileSystemExtensionApiTest( 426 EXPECT_TRUE(RunFileSystemExtensionApiTest(
427 "file_browser/handler_test_runner", 427 "file_browser/handler_test_runner",
428 FILE_PATH_LITERAL("manifest.json"), 428 FILE_PATH_LITERAL("manifest.json"),
429 "file_browser/app_file_handler", 429 "file_browser/app_file_handler",
430 FLAGS_USE_FILE_HANDLER)) << message_; 430 FLAGS_USE_FILE_HANDLER)) << message_;
431 } 431 }
432 432
433 } // namespace 433 } // namespace
434 } // namespace file_manager 434 } // namespace file_manager
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698