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

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: 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
« no previous file with comments | « chrome/chrome_tests_unit.gypi ('k') | chrome/common/extensions/extension.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/extensions/extension.h
diff --git a/chrome/common/extensions/extension.h b/chrome/common/extensions/extension.h
index 5c0acd553afd6a7c0c90633369e0c873d9b02ae7..1fbea964812c34e482adfcba4ad8e0e6625e0245 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 {
@@ -732,11 +728,6 @@ class Extension : public base::RefCountedThreadSafe<Extension> {
bool incognito_split_mode() const { return incognito_split_mode_; }
bool offline_enabled() const { return offline_enabled_; }
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; }
@@ -897,11 +888,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);
@@ -1200,9 +1186,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_;
« no previous file with comments | « chrome/chrome_tests_unit.gypi ('k') | chrome/common/extensions/extension.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698