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

Unified Diff: extensions/shell/test/shell_test.cc

Issue 2580063003: AppShell: Ignore channel requirements of extension API features (Closed)
Patch Set: Created 4 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 side-by-side diff with in-line comments
Download patch
« extensions/common/features/feature.h ('K') | « extensions/shell/test/shell_test.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/shell/test/shell_test.cc
diff --git a/extensions/shell/test/shell_test.cc b/extensions/shell/test/shell_test.cc
index c8b41444d7045e9f4c8ac72de5617fe36d559d73..0d50551341e89f36e0303647fa108cba899a9dac 100644
--- a/extensions/shell/test/shell_test.cc
+++ b/extensions/shell/test/shell_test.cc
@@ -12,7 +12,6 @@
#include "base/path_service.h"
#include "base/run_loop.h"
#include "build/build_config.h"
-#include "components/version_info/version_info.h"
#include "content/public/common/content_switches.h"
#include "extensions/browser/extension_system.h"
#include "extensions/shell/browser/desktop_controller.h"
@@ -23,10 +22,7 @@ namespace extensions {
AppShellTest::AppShellTest()
: browser_context_(nullptr),
- extension_system_(nullptr),
- // Default channel is STABLE but override with UNKNOWN so that unlaunched
- // or incomplete APIs can write tests.
- current_channel_(version_info::Channel::UNKNOWN) {
+ extension_system_(nullptr) {
#if defined(OS_MACOSX)
// TODO(phajdan.jr): Make browser tests self-contained on Mac; remove this.
// Set up the application path as though we we are inside the App Shell.app
« extensions/common/features/feature.h ('K') | « extensions/shell/test/shell_test.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698