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

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

Issue 8417043: Add webkit_glue namespace. Improve some variable and test names. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 2 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 79af4f0768e35af0c05f5b8c9de67081696274df..4d3a19d69ed47c04b6868e263b2f50363e7e0072 100644
--- a/chrome/common/extensions/extension.h
+++ b/chrome/common/extensions/extension.h
@@ -547,7 +547,10 @@ 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<WebIntentServiceData>& intents() const { return intents_; }
+ 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_; }
@@ -656,8 +659,8 @@ class Extension : public base::RefCountedThreadSafe<Extension> {
std::string* error);
bool LoadAppIsolation(const base::DictionaryValue* manifest,
std::string* error);
- bool LoadWebIntents(const base::DictionaryValue& manifest,
- std::string* error);
+ bool LoadWebIntentsServices(const base::DictionaryValue& manifest,
+ std::string* error);
bool EnsureNotHybridApp(const base::DictionaryValue* manifest,
std::string* error);
@@ -848,8 +851,8 @@ 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<WebIntentServiceData> intents_;
+ // List of intent services that this extension provides, if any.
+ std::vector<webkit_glue::WebIntentServiceData> intents_services_;
// Whether the extension has host permissions or user script patterns that
// imply access to file:/// scheme URLs (the user may not have actually

Powered by Google App Engine
This is Rietveld 408576698