summaryrefslogtreecommitdiffstats
path: root/chrome/browser/search/local_ntp_source.cc
diff options
context:
space:
mode:
authorjered@chromium.org <jered@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-04-17 16:12:33 +0000
committerjered@chromium.org <jered@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-04-17 16:12:33 +0000
commit305b8e8c9152dc31b1e580f8442e70dd07d2137f (patch)
tree342ad0af9ec86c2e9369048a3b7448d8f4d54385 /chrome/browser/search/local_ntp_source.cc
parent5504c56e63e603104f6a9870f3dd30f32eb29f74 (diff)
downloadchromium_src-305b8e8c9152dc31b1e580f8442e70dd07d2137f.zip
chromium_src-305b8e8c9152dc31b1e580f8442e70dd07d2137f.tar.gz
chromium_src-305b8e8c9152dc31b1e580f8442e70dd07d2137f.tar.bz2
Make URLDataSource::GetSource() const.
The method is logically const, all callers are already const, and I wanted to call this from a const method. BUG= Review URL: https://codereview.chromium.org/13945023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@194605 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/search/local_ntp_source.cc')
-rw-r--r--chrome/browser/search/local_ntp_source.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/search/local_ntp_source.cc b/chrome/browser/search/local_ntp_source.cc
index 38cbd7a..d11f5fe 100644
--- a/chrome/browser/search/local_ntp_source.cc
+++ b/chrome/browser/search/local_ntp_source.cc
@@ -31,7 +31,7 @@ LocalNtpSource::LocalNtpSource() {
LocalNtpSource::~LocalNtpSource() {
}
-std::string LocalNtpSource::GetSource() {
+std::string LocalNtpSource::GetSource() const {
return chrome::kChromeSearchLocalNtpHost;
}