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

Unified Diff: chrome/browser/intents/default_web_intent_service.cc

Issue 10855065: Add a constructor to DefaultWebIntentServices that takes only the "interesting" args. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Respond to review comments. Created 8 years, 4 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/intents/default_web_intent_service.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/intents/default_web_intent_service.cc
diff --git a/chrome/browser/intents/default_web_intent_service.cc b/chrome/browser/intents/default_web_intent_service.cc
index ba887d1dfa3f4dbbbbc6ec95a776aa8211e2cabe..ea0fa5b76ec725b3cc6af431c5bebe5d4a2ad4a4 100644
--- a/chrome/browser/intents/default_web_intent_service.cc
+++ b/chrome/browser/intents/default_web_intent_service.cc
@@ -9,6 +9,14 @@ DefaultWebIntentService::DefaultWebIntentService()
user_date(-1),
suppression(0) {}
+DefaultWebIntentService::DefaultWebIntentService(
+ const string16& srv_action,
+ const string16& srv_type,
+ const std::string& srv_service_url)
+ : action(srv_action), type(srv_type),
+ url_pattern(URLPattern::SCHEME_ALL, URLPattern::kAllUrlsPattern),
+ user_date(-1), suppression(0), service_url(srv_service_url) {}
+
DefaultWebIntentService::~DefaultWebIntentService() {}
bool DefaultWebIntentService::operator==(
« no previous file with comments | « chrome/browser/intents/default_web_intent_service.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698