From 28fd987718745889af0bf774d9fd9d58c3bb588a Mon Sep 17 00:00:00 2001 From: reillyg Date: Mon, 3 Aug 2015 15:09:56 -0700 Subject: Stablize 'usb_printers' extension manifest key. The new permissions flow for USB printers feature is trying to launch in M-45 and I forgot to stablize this before the branch point. BUG=484546 Review URL: https://codereview.chromium.org/1269083004 Cr-Commit-Position: refs/heads/master@{#341628} --- .../ui/webui/print_preview/extension_printer_handler_unittest.cc | 3 --- extensions/common/api/_manifest_features.json | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/chrome/browser/ui/webui/print_preview/extension_printer_handler_unittest.cc b/chrome/browser/ui/webui/print_preview/extension_printer_handler_unittest.cc index b29731c..8438446 100644 --- a/chrome/browser/ui/webui/print_preview/extension_printer_handler_unittest.cc +++ b/chrome/browser/ui/webui/print_preview/extension_printer_handler_unittest.cc @@ -20,7 +20,6 @@ #include "chrome/browser/extensions/test_extension_environment.h" #include "chrome/browser/local_discovery/pwg_raster_converter.h" #include "chrome/browser/ui/webui/print_preview/extension_printer_handler.h" -#include "chrome/common/extensions/features/feature_channel.h" #include "chrome/test/base/testing_profile.h" #include "components/version_info/version_info.h" #include "device/core/device_client.h" @@ -554,8 +553,6 @@ TEST_F(ExtensionPrinterHandlerTest, GetPrinters_Reset) { } TEST_F(ExtensionPrinterHandlerTest, GetUsbPrinters) { - extensions::ScopedCurrentChannel channel(version_info::Channel::DEV); - scoped_refptr device0 = new MockUsbDevice(0, 0, "Google", "USB Printer", ""); usb_service_.AddDevice(device0); diff --git a/extensions/common/api/_manifest_features.json b/extensions/common/api/_manifest_features.json index d00c4e3..8a5783a 100644 --- a/extensions/common/api/_manifest_features.json +++ b/extensions/common/api/_manifest_features.json @@ -271,7 +271,7 @@ "extension_types": ["platform_app"] }, "usb_printers": { - "channel": "dev", + "channel": "stable", "extension_types": ["platform_app"] }, "version": { -- cgit v1.1