Home | History | Annotate | Download | only in extensions

Lines Matching refs:EXTENSION

22 #include "chrome/common/extensions/extension.h"
58 // extension.
77 extension_->GetIconResource(Extension::EXTENSION_ICON_BITTY,
93 NOTREACHED() << "Could not encode extension favicon";
120 const Extension* extension_;
134 const Extension* extension = service->GetExtensionByURL(url);
135 if (!extension)
136 extension = service->GetExtensionByWebExtent(url);
137 DCHECK(extension);
138 // Only hide the url for internal pages (e.g. chrome-extension or packaged
140 should_hide_url_ = !extension->is_hosted_app();
142 bindings_ = BindingsPolicy::EXTENSION;
143 // Bind externalHost to Extension WebUI loaded in Chrome Frame.
273 // Verify that the extension that's being referred to actually exists.
274 const Extension* extension = service->GetExtensionByURL(extension_url);
275 if (!extension) {
276 // This can currently happen if you use --load-extension one run, and
277 // then don't use it the next. It could also happen if an extension
279 LOG(WARNING) << "chrome URL override present for non-existant extension";
284 // We can't handle chrome-extension URLs in incognito mode unless the
285 // extension uses split mode.
287 extension->incognito_split_mode() &&
288 service->IsIncognitoEnabled(extension->id());
302 Profile* profile, const Extension::URLOverrideMap& overrides) {
310 // For each override provided by the extension, add it to the front of
312 Extension::URLOverrideMap::const_iterator iter = overrides.begin();
386 Profile* profile, const Extension::URLOverrideMap& overrides) {
392 Extension::URLOverrideMap::const_iterator iter = overrides.begin();