summaryrefslogtreecommitdiffstats
path: root/chrome/browser/extensions/extension_local_filesystem_apitest.cc
diff options
context:
space:
mode:
authorzelidrag@chromium.org <zelidrag@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-04-16 08:49:30 +0000
committerzelidrag@chromium.org <zelidrag@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-04-16 08:49:30 +0000
commit99b370004f7d287d9904275255967d8e6edf1e7d (patch)
treed0a69d77ff9df70e6e587fb704bb7b40339090c4 /chrome/browser/extensions/extension_local_filesystem_apitest.cc
parent76066e5180a794b39d8f9550937b37b05f7793e8 (diff)
downloadchromium_src-99b370004f7d287d9904275255967d8e6edf1e7d.zip
chromium_src-99b370004f7d287d9904275255967d8e6edf1e7d.tar.gz
chromium_src-99b370004f7d287d9904275255967d8e6edf1e7d.tar.bz2
Revert 81865 - New fileBrowserPrivate and fileHandler APIs added + plus magic needed to safely hand over access to local file system elements from content extension to 3rd party extension.As agreed with aa@ and asargent@, this new API defines following event:chrome.fileHandler.onExecute.addListener(function(id, file_entries) {}This event is invoked when user selects files in ChromeOS file browser. The extension needs to register itself as file content hanlder with following manifest changes: ... "file_browser_actions": [ { "id" : "ActionIdentifier", "default_title" : "Action title", "default_icon" : "icon.png", "file_filters" : [ "filesystem:*.jpeg", ... ] } ... ], ...BUG=chromium-os:11996TEST=ExtensionApiTest.FileBrowserTest, ExtensionManifestTest.FileBrowserActionsReview URL: http://codereview.chromium.org/6749021
TBR=zelidrag@chromium.org Review URL: http://codereview.chromium.org/6873031 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81866 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/extensions/extension_local_filesystem_apitest.cc')
-rw-r--r--chrome/browser/extensions/extension_local_filesystem_apitest.cc10
1 files changed, 3 insertions, 7 deletions
diff --git a/chrome/browser/extensions/extension_local_filesystem_apitest.cc b/chrome/browser/extensions/extension_local_filesystem_apitest.cc
index 856cbb4..5a8ba72 100644
--- a/chrome/browser/extensions/extension_local_filesystem_apitest.cc
+++ b/chrome/browser/extensions/extension_local_filesystem_apitest.cc
@@ -1,4 +1,4 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Copyright (c) 2010 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -6,13 +6,9 @@
#if defined(OS_CHROMEOS)
-IN_PROC_BROWSER_TEST_F(ExtensionApiTest, LocalFileSystem) {
+// TODO(zelidrag): Remove disable prefix on this test once API changes land.
+IN_PROC_BROWSER_TEST_F(ExtensionApiTest, DISABLED_LocalFileSystem) {
ASSERT_TRUE(RunComponentExtensionTest("local_filesystem")) << message_;
}
-IN_PROC_BROWSER_TEST_F(ExtensionApiTest, FileBrowserTest) {
- ASSERT_TRUE(RunExtensionTest("filesystem_handler")) << message_;
- ASSERT_TRUE(RunComponentExtensionTest("filebrowser_component")) << message_;
-}
-
#endif