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

Unified Diff: chrome/common/extensions/extension.h

Issue 11741014: Move 'intents' parsing out of Extension (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: lazy instance Created 7 years, 12 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/common/extensions/extension.h
diff --git a/chrome/common/extensions/extension.h b/chrome/common/extensions/extension.h
index 87ba5d5b0fc090393df407c328f3e5da73104437..874d4e1c1331d68a4e3cb6651d36e21a924427d0 100644
--- a/chrome/common/extensions/extension.h
+++ b/chrome/common/extensions/extension.h
@@ -47,10 +47,6 @@ namespace gfx {
class ImageSkia;
}
-namespace webkit_glue {
-struct WebIntentServiceData;
-}
-
FORWARD_DECLARE_TEST(TabStripModelTest, Apps);
namespace extensions {
@@ -770,11 +766,6 @@ class Extension : public base::RefCountedThreadSafe<Extension> {
bool offline_enabled() const { return offline_enabled_; }
const std::vector<TtsVoice>& tts_voices() const { return tts_voices_; }
const OAuth2Info& oauth2_info() const { return oauth2_info_; }
- const std::vector<webkit_glue::WebIntentServiceData>&
- intents_services() const {
- return intents_services_;
- }
-
bool wants_file_access() const { return wants_file_access_; }
int creation_flags() const { return creation_flags_; }
bool from_webstore() const { return (creation_flags_ & FROM_WEBSTORE) != 0; }
@@ -932,11 +923,6 @@ class Extension : public base::RefCountedThreadSafe<Extension> {
bool LoadBackgroundAllowJSAccess(
const APIPermissionSet& api_permissions,
string16* error);
- // Parses a single action in the manifest.
- bool LoadWebIntentAction(const std::string& action_name,
- const base::DictionaryValue& intent_service,
- string16* error);
- bool LoadWebIntentServices(string16* error);
bool LoadFileHandler(const std::string& handler_id,
const base::DictionaryValue& handler_info,
string16* error);
@@ -1232,9 +1218,6 @@ class Extension : public base::RefCountedThreadSafe<Extension> {
// The OAuth2 client id and scopes, if specified by the extension.
OAuth2Info oauth2_info_;
- // List of intent services that this extension provides, if any.
- std::vector<webkit_glue::WebIntentServiceData> intents_services_;
-
// List of file handlers associated with this extension, if any.
std::vector<FileHandlerInfo> file_handlers_;

Powered by Google App Engine
This is Rietveld 408576698