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

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: Fix merge error 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
« no previous file with comments | « chrome/browser/webdata/web_intents_table_unittest.cc ('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 912fa31be04bb9612d3a323b09d479e7a8e5c11b..91730c66ed660a8cb46370f288afe95ffe3e0d24 100644
--- a/chrome/common/extensions/extension.h
+++ b/chrome/common/extensions/extension.h
@@ -534,7 +534,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_; }
@@ -643,8 +646,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 LoadWebIntentServices(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
« no previous file with comments | « chrome/browser/webdata/web_intents_table_unittest.cc ('k') | chrome/common/extensions/extension.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698