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

Unified Diff: chrome/browser/ui/intents/web_intent_picker_model.h

Issue 11087022: intents: Change default_service_url() to return a const-ref. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rm virtual dtor Created 8 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 | « no previous file | chrome/browser/ui/intents/web_intents_model.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/intents/web_intent_picker_model.h
diff --git a/chrome/browser/ui/intents/web_intent_picker_model.h b/chrome/browser/ui/intents/web_intent_picker_model.h
index d3fcaf18b557dfa60f7176ccfe36fbea89c795f3..fb535c2253e33f4c37ae0caa3a8e28b1261f63f4 100644
--- a/chrome/browser/ui/intents/web_intent_picker_model.h
+++ b/chrome/browser/ui/intents/web_intent_picker_model.h
@@ -76,7 +76,7 @@ class WebIntentPickerModel {
const string16& type() const { return type_; }
void set_type(const string16& type) { type_ = type; }
- GURL default_service_url() const { return default_service_url_; }
+ const GURL& default_service_url() const { return default_service_url_; }
void set_default_service_url(const GURL& default_url) {
default_service_url_ = default_url;
}
« no previous file with comments | « no previous file | chrome/browser/ui/intents/web_intents_model.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698