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

Unified Diff: chrome/browser/background/background_mode_manager_unittest.cc

Issue 1497193002: Remove all the ephemeral apps code. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Tests Created 5 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
Index: chrome/browser/background/background_mode_manager_unittest.cc
diff --git a/chrome/browser/background/background_mode_manager_unittest.cc b/chrome/browser/background/background_mode_manager_unittest.cc
index 633680b4ca2b68f92394d995184db27a61f5b840..757fc1c63db8c34ff494e536dffef241f43d793b 100644
--- a/chrome/browser/background/background_mode_manager_unittest.cc
+++ b/chrome/browser/background/background_mode_manager_unittest.cc
@@ -310,20 +310,6 @@ class BackgroundModeManagerWithExtensionsTest : public testing::Test {
return false;
}
- void AddEphemeralApp(const extensions::Extension* extension,
- ExtensionService* service) {
- extensions::ExtensionPrefs* prefs =
- extensions::ExtensionPrefs::Get(service->profile());
- ASSERT_TRUE(prefs);
- prefs->OnExtensionInstalled(extension,
- extensions::Extension::ENABLED,
- syncer::StringOrdinal(),
- extensions::kInstallFlagIsEphemeral,
- std::string());
-
- service->AddExtension(extension);
- }
-
scoped_ptr<TestBackgroundModeManager> manager_;
scoped_ptr<base::CommandLine> command_line_;

Powered by Google App Engine
This is Rietveld 408576698