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

Unified Diff: chrome/browser/extensions/api/app_window/app_window_api.cc

Issue 12093036: Move Extension Location and Type enums to Manifest, and move InstallWarning to its own file. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 11 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/app_window/app_window_api.cc
diff --git a/chrome/browser/extensions/api/app_window/app_window_api.cc b/chrome/browser/extensions/api/app_window/app_window_api.cc
index d41f9f9c42ebfe466bfed0b9676efb2c7e44a350..b9c62c0e2c4c8795dc86a4aa3182a03a1554401a 100644
--- a/chrome/browser/extensions/api/app_window/app_window_api.cc
+++ b/chrome/browser/extensions/api/app_window/app_window_api.cc
@@ -88,7 +88,7 @@ bool AppWindowCreateFunction::RunImpl() {
GURL url = GetExtension()->GetResourceURL(params->url);
// Allow absolute URLs for component apps, otherwise prepend the extension
// path.
- if (GetExtension()->location() == extensions::Extension::COMPONENT) {
+ if (GetExtension()->location() == extensions::Manifest::COMPONENT) {
GURL absolute = GURL(params->url);
if (absolute.has_scheme())
url = absolute;

Powered by Google App Engine
This is Rietveld 408576698