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

Unified Diff: chrome/browser/extensions/api/management/management_api.cc

Issue 14241002: Move the parsing of app.launch related keys out of Extension class. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 years, 8 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/management/management_api.cc
diff --git a/chrome/browser/extensions/api/management/management_api.cc b/chrome/browser/extensions/api/management/management_api.cc
index 11f0d5abfd257375e8a89fa30e24ac269f0a0329..1dd2cc61e8b819b692b4ac29b1989a820b846f69 100644
--- a/chrome/browser/extensions/api/management/management_api.cc
+++ b/chrome/browser/extensions/api/management/management_api.cc
@@ -31,6 +31,7 @@
#include "chrome/common/chrome_notification_types.h"
#include "chrome/common/chrome_utility_messages.h"
#include "chrome/common/extensions/api/management.h"
+#include "chrome/common/extensions/app_launcher_info.h"
#include "chrome/common/extensions/extension.h"
#include "chrome/common/extensions/extension_constants.h"
#include "chrome/common/extensions/extension_icon_set.h"
@@ -136,7 +137,7 @@ scoped_ptr<management::ExtensionInfo> CreateExtensionInfo(
if (extension.is_app()) {
info->app_launch_url.reset(new std::string(
- extension.GetFullLaunchURL().spec()));
+ AppLauncherInfo::GetFullLaunchURL(&extension).spec()));
}
const ExtensionIconSet::IconMap& icons =

Powered by Google App Engine
This is Rietveld 408576698