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

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

Issue 2447553003: More pre-MD odds and ends. (Closed)
Patch Set: fix typo 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
« no previous file with comments | « chrome/browser/extensions/extension_action.cc ('k') | chrome/browser/themes/browser_theme_pack.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 fab816aa76640f5551ef839acb2a7040d6df4a02..d45bee37200825ffb07eadc55a1019dee006db84 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)
@@ -2137,14 +2136,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.
}
« no previous file with comments | « chrome/browser/extensions/extension_action.cc ('k') | chrome/browser/themes/browser_theme_pack.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698