| Index: chrome/browser/extensions/api/tab_capture/tab_capture_apitest.cc
|
| diff --git a/chrome/browser/extensions/api/sync_file_system/sync_file_system_apitest.cc b/chrome/browser/extensions/api/tab_capture/tab_capture_apitest.cc
|
| similarity index 51%
|
| copy from chrome/browser/extensions/api/sync_file_system/sync_file_system_apitest.cc
|
| copy to chrome/browser/extensions/api/tab_capture/tab_capture_apitest.cc
|
| index 68a4ac3346cf6ebb5f325a38e0e19276e741f245..fe9861ad9cd56d0d0bf6356a9d5a27401cb98dfc 100644
|
| --- a/chrome/browser/extensions/api/sync_file_system/sync_file_system_apitest.cc
|
| +++ b/chrome/browser/extensions/api/tab_capture/tab_capture_apitest.cc
|
| @@ -2,8 +2,6 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -#include "base/file_util.h"
|
| -#include "base/path_service.h"
|
| #include "chrome/browser/extensions/extension_apitest.h"
|
| #include "chrome/common/chrome_version_info.h"
|
| #include "chrome/common/extensions/features/feature.h"
|
| @@ -12,12 +10,9 @@ namespace chrome {
|
|
|
| namespace {
|
|
|
| -class SyncFileSystemApiTest : public ExtensionApiTest {
|
| +class TabCaptureApiTest : public ExtensionApiTest {
|
| public:
|
| - // Override the current channel to "trunk" as syncFileSystem is currently
|
| - // available only on trunk channel.
|
| - SyncFileSystemApiTest()
|
| - : current_channel_(VersionInfo::CHANNEL_UNKNOWN) {}
|
| + TabCaptureApiTest() : current_channel_(VersionInfo::CHANNEL_UNKNOWN) {}
|
|
|
| private:
|
| extensions::Feature::ScopedCurrentChannel current_channel_;
|
| @@ -25,9 +20,8 @@ class SyncFileSystemApiTest : public ExtensionApiTest {
|
|
|
| } // namespace
|
|
|
| -IN_PROC_BROWSER_TEST_F(SyncFileSystemApiTest, RequestFileSystem) {
|
| - ASSERT_TRUE(RunExtensionTest("sync_file_system/request_file_system"))
|
| - << message_;
|
| +IN_PROC_BROWSER_TEST_F(TabCaptureApiTest, TabCapture) {
|
| + ASSERT_TRUE(RunExtensionTest("tab_capture/experimental")) << message_;
|
| }
|
|
|
| } // namespace chrome
|
|
|