| Index: chrome/common/extensions/extension.h
|
| diff --git a/chrome/common/extensions/extension.h b/chrome/common/extensions/extension.h
|
| index 215912e26891398f51da5a237fa1c9a1c2296439..105236119528df18db05c42db760454da93ace89 100644
|
| --- a/chrome/common/extensions/extension.h
|
| +++ b/chrome/common/extensions/extension.h
|
| @@ -17,6 +17,7 @@
|
| #include "base/memory/ref_counted.h"
|
| #include "base/memory/scoped_ptr.h"
|
| #include "base/synchronization/lock.h"
|
| +#include "chrome/browser/intents/web_intent_data.h"
|
| #include "chrome/common/extensions/extension_constants.h"
|
| #include "chrome/common/extensions/extension_icon_set.h"
|
| #include "chrome/common/extensions/extension_permission_set.h"
|
| @@ -533,6 +534,7 @@ class Extension : public base::RefCountedThreadSafe<Extension> {
|
| bool incognito_split_mode() const { return incognito_split_mode_; }
|
| bool offline_enabled() const { return offline_enabled_; }
|
| const std::vector<TtsVoice>& tts_voices() const { return tts_voices_; }
|
| + const std::vector<WebIntentData>& intents() const { return intents_; }
|
|
|
| bool wants_file_access() const { return wants_file_access_; }
|
| int creation_flags() const { return creation_flags_; }
|
| @@ -843,6 +845,9 @@ class Extension : public base::RefCountedThreadSafe<Extension> {
|
| // List of text-to-speech voices that this extension provides, if any.
|
| std::vector<TtsVoice> tts_voices_;
|
|
|
| + // List of intents that this extension provides, if any.
|
| + std::vector<WebIntentData> intents_;
|
| +
|
| // Whether the extension has host permissions or user script patterns that
|
| // imply access to file:/// scheme URLs (the user may not have actually
|
| // granted it that access).
|
|
|