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

Unified Diff: chrome/browser/ui/webui/extensions/extension_icon_source.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
Index: chrome/browser/ui/webui/extensions/extension_icon_source.h
diff --git a/chrome/browser/ui/webui/extensions/extension_icon_source.h b/chrome/browser/ui/webui/extensions/extension_icon_source.h
index 8cf5827b6719a2dee51a95436682caf09e5dba38..419513762aa7162768eaefa62a056ef1cb25e422 100644
--- a/chrome/browser/ui/webui/extensions/extension_icon_source.h
+++ b/chrome/browser/ui/webui/extensions/extension_icon_source.h
@@ -19,6 +19,10 @@
class ExtensionIconSet;
class Profile;
+namespace extensions {
+class Extension;
+}
+
// ExtensionIconSource serves extension icons through network level chrome:
// requests. Icons can be retrieved for any installed extension or app.
//
@@ -55,7 +59,7 @@ class ExtensionIconSource : public ChromeURLDataManager::DataSource,
// desaturated version of the icon. |exists|, if non-NULL, will be set to true
// if the icon exists; false if it will lead to a default or not-present
// image.
- static GURL GetIconURL(const Extension* extension,
+ static GURL GetIconURL(const extensions::Extension* extension,
int icon_size,
ExtensionIconSet::MatchType match,
bool grayscale,
@@ -131,7 +135,7 @@ class ExtensionIconSource : public ChromeURLDataManager::DataSource,
// Stores the parameters associated with the |request_id|, making them
// as an ExtensionIconRequest via GetData.
void SetData(int request_id,
- const Extension* extension,
+ const extensions::Extension* extension,
bool grayscale,
int size,
ExtensionIconSet::MatchType match);

Powered by Google App Engine
This is Rietveld 408576698