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

Unified Diff: chrome/browser/themes/theme_service.h

Issue 10375021: Move Extension into extensions namespace (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Take 6 Created 8 years, 7 months 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/themes/browser_theme_pack_unittest.cc ('k') | chrome/browser/themes/theme_service.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/themes/theme_service.h
diff --git a/chrome/browser/themes/theme_service.h b/chrome/browser/themes/theme_service.h
index c5cc1bad65b02d6f4cb0a03d418fd30cf6a0054f..f9c7b3094525925b2c793bfec21b42b402825d44 100644
--- a/chrome/browser/themes/theme_service.h
+++ b/chrome/browser/themes/theme_service.h
@@ -21,7 +21,6 @@
class BrowserThemePack;
class ThemeServiceTest;
-class Extension;
class FilePath;
class Profile;
@@ -29,6 +28,10 @@ namespace color_utils {
struct HSL;
}
+namespace extensions {
+class Extension;
+}
+
namespace gfx {
class Image;
}
@@ -178,7 +181,7 @@ class ThemeService : public base::NonThreadSafe,
#endif
// Set the current theme to the theme defined in |extension|.
- virtual void SetTheme(const Extension* extension);
+ virtual void SetTheme(const extensions::Extension* extension);
// Reset the theme to default.
virtual void UseDefaultTheme();
@@ -281,7 +284,7 @@ class ThemeService : public base::NonThreadSafe,
// Implementation of SetTheme() (and the fallback from LoadThemePrefs() in
// case we don't have a theme pack).
- void BuildFromExtension(const Extension* extension);
+ void BuildFromExtension(const extensions::Extension* extension);
#if defined(TOOLKIT_GTK)
// Loads an image and flips it horizontally if |rtl_enabled| is true.
« no previous file with comments | « chrome/browser/themes/browser_theme_pack_unittest.cc ('k') | chrome/browser/themes/theme_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698