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

Side by Side Diff: chrome/browser/extensions/api/file_system/file_system_apitest.cc

Issue 2934143002: Move chrome.fileSystem implementation to //extensions (Closed)
Patch Set: rebase Created 3 years, 5 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 "apps/saved_files_service.h" 5 #include "apps/saved_files_service.h"
6 #include "base/files/file_util.h" 6 #include "base/files/file_util.h"
7 #include "base/macros.h" 7 #include "base/macros.h"
8 #include "base/path_service.h" 8 #include "base/path_service.h"
9 #include "base/scoped_observer.h" 9 #include "base/scoped_observer.h"
10 #include "base/threading/thread_restrictions.h" 10 #include "base/threading/thread_restrictions.h"
11 #include "build/build_config.h" 11 #include "build/build_config.h"
12 #include "chrome/browser/apps/app_browsertest_util.h" 12 #include "chrome/browser/apps/app_browsertest_util.h"
13 #include "chrome/browser/extensions/api/file_system/file_system_api.h"
14 #include "chrome/browser/profiles/profile.h" 13 #include "chrome/browser/profiles/profile.h"
15 #include "chrome/common/chrome_paths.h" 14 #include "chrome/common/chrome_paths.h"
15 #include "extensions/browser/api/file_system/file_system_api.h"
16 #include "extensions/browser/api/file_system/saved_file_entry.h" 16 #include "extensions/browser/api/file_system/saved_file_entry.h"
17 #include "extensions/browser/extension_prefs.h" 17 #include "extensions/browser/extension_prefs.h"
18 #include "extensions/browser/extension_registry.h" 18 #include "extensions/browser/extension_registry.h"
19 #include "extensions/browser/extension_registry_observer.h" 19 #include "extensions/browser/extension_registry_observer.h"
20 20
21 // TODO(michaelpg): Port these tests to app_shell: crbug.com/505926.
22
21 namespace content { 23 namespace content {
22 class BrowserContext; 24 class BrowserContext;
23 } 25 }
24 26
25 namespace extensions { 27 namespace extensions {
26 28
27 namespace { 29 namespace {
28 30
29 class AppLoadObserver : public ExtensionRegistryObserver { 31 class AppLoadObserver : public ExtensionRegistryObserver {
30 public: 32 public:
(...skipping 643 matching lines...) Expand 10 before | Expand all | Expand 10 after
674 #if !defined(OS_CHROMEOS) 676 #if !defined(OS_CHROMEOS)
675 IN_PROC_BROWSER_TEST_F(FileSystemApiTest, RequestFileSystem_NotChromeOS) { 677 IN_PROC_BROWSER_TEST_F(FileSystemApiTest, RequestFileSystem_NotChromeOS) {
676 ASSERT_TRUE(RunPlatformAppTestWithFlags( 678 ASSERT_TRUE(RunPlatformAppTestWithFlags(
677 "api_test/file_system/request_file_system_not_chromeos", 679 "api_test/file_system/request_file_system_not_chromeos",
678 kFlagIgnoreManifestWarnings)) 680 kFlagIgnoreManifestWarnings))
679 << message_; 681 << message_;
680 } 682 }
681 #endif 683 #endif
682 684
683 } // namespace extensions 685 } // namespace extensions
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698