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

Unified Diff: chrome/browser/extensions/extension_service_unittest.cc

Issue 2447553003: More pre-MD odds and ends. (Closed)
Patch Set: make test work Created 4 years, 1 month 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/extensions/extension_service_unittest.cc
diff --git a/chrome/browser/extensions/extension_service_unittest.cc b/chrome/browser/extensions/extension_service_unittest.cc
index 839c43d11b1ea45526eac3380371d0eabcb63908..b569ad22aa39803eed457a1b18831221b7fe5888 100644
--- a/chrome/browser/extensions/extension_service_unittest.cc
+++ b/chrome/browser/extensions/extension_service_unittest.cc
@@ -139,7 +139,6 @@
#include "testing/gtest/include/gtest/gtest.h"
#include "testing/platform_test.h"
#include "ui/base/l10n/l10n_util.h"
-#include "ui/base/material_design/material_design_controller.h"
#include "url/gurl.h"
#if defined(OS_CHROMEOS)
@@ -2136,14 +2135,10 @@ TEST_F(ExtensionServiceTest, LoadLocalizedTheme) {
EXPECT_EQ("name", theme->name());
EXPECT_EQ("description", theme->description());
- // Cleanup the "Cached Theme.pak" file (or "Cached Theme Material Design.pak"
- // when Material Design is enabled). Ideally, this would be installed in a
+ // Cleanup the "Cached Theme.pak" file. Ideally, this would be installed in a
// temporary directory, but it automatically installs to the extension's
// directory, and we don't want to copy the whole extension for a unittest.
- base::FilePath theme_file = extension_path.Append(
- ui::MaterialDesignController::IsModeMaterial()
- ? chrome::kThemePackMaterialDesignFilename
- : chrome::kThemePackFilename);
+ base::FilePath theme_file = extension_path.Append(chrome::kThemePackFilename);
ASSERT_TRUE(base::PathExists(theme_file));
ASSERT_TRUE(base::DeleteFile(theme_file, false)); // Not recursive.
}

Powered by Google App Engine
This is Rietveld 408576698