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

Unified Diff: chrome/browser/extensions/api/terminal/terminal_extension_helper.cc

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/extensions/api/terminal/terminal_extension_helper.cc
diff --git a/chrome/browser/extensions/api/terminal/terminal_extension_helper.cc b/chrome/browser/extensions/api/terminal/terminal_extension_helper.cc
index cdbaea79774aee0396718801696bbeec701e757b..8cfe0154859cc2828ff60d914b066bd14019c310 100644
--- a/chrome/browser/extensions/api/terminal/terminal_extension_helper.cc
+++ b/chrome/browser/extensions/api/terminal/terminal_extension_helper.cc
@@ -12,7 +12,7 @@ namespace {
const char kCroshExtensionEntryPoint[] = "/html/crosh.html";
-const Extension* GetTerminalExtension(Profile* profile) {
+const extensions::Extension* GetTerminalExtension(Profile* profile) {
// Search order for terminal extensions.
// We prefer hterm-dev, then hterm, then the builtin crosh extension.
static const char* kPossibleAppIds[] = {
@@ -26,7 +26,7 @@ const Extension* GetTerminalExtension(Profile* profile) {
ExtensionService* service = profile->GetExtensionService();
for (size_t x = 0; x < arraysize(kPossibleAppIds); ++x) {
- const Extension* extension = service->GetExtensionById(
+ const extensions::Extension* extension = service->GetExtensionById(
kPossibleAppIds[x], false);
if (extension)
return extension;
@@ -38,7 +38,7 @@ const Extension* GetTerminalExtension(Profile* profile) {
} // namespace
GURL TerminalExtensionHelper::GetCroshExtensionURL(Profile* profile) {
- const Extension* extension = GetTerminalExtension(profile);
+ const extensions::Extension* extension = GetTerminalExtension(profile);
if (!extension)
return GURL();

Powered by Google App Engine
This is Rietveld 408576698