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

Unified Diff: chrome/browser/extensions/platform_app_launcher.cc

Issue 11741014: Move 'intents' parsing out of Extension (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fixed special_storage_policy unittest 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/platform_app_launcher.cc
diff --git a/chrome/browser/extensions/platform_app_launcher.cc b/chrome/browser/extensions/platform_app_launcher.cc
index ca0813cc2a3bdd6a0614b148f0a40d580132a282..c355750e089409cf1770b3d68a1a8d8fecd75c8f 100644
--- a/chrome/browser/extensions/platform_app_launcher.cc
+++ b/chrome/browser/extensions/platform_app_launcher.cc
@@ -21,6 +21,7 @@
#include "chrome/browser/profiles/profile.h"
#include "chrome/common/extensions/extension.h"
#include "chrome/common/extensions/extension_messages.h"
+#include "chrome/common/extensions/web_intents_handler.h"
#include "content/public/browser/browser_thread.h"
#include "content/public/browser/child_process_security_policy.h"
#include "content/public/browser/render_process_host.h"
@@ -174,7 +175,7 @@ class PlatformAppPathLauncher
// syntax in platform app manifests.
if (!found_service) {
std::vector<webkit_glue::WebIntentServiceData> services =
- extension_->intents_services();
+ extensions::WebIntentsInfo::GetIntentsServices(extension_);
for (size_t i = 0; i < services.size(); i++) {
std::string service_type_ascii = UTF16ToASCII(services[i].type);
if (services[i].action == ASCIIToUTF16(web_intents::kActionView) &&
« no previous file with comments | « chrome/browser/extensions/extension_special_storage_policy_unittest.cc ('k') | chrome/browser/extensions/web_intents_parser.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698