diff options
author | jered@chromium.org <jered@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-04-17 16:12:33 +0000 |
---|---|---|
committer | jered@chromium.org <jered@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-04-17 16:12:33 +0000 |
commit | 305b8e8c9152dc31b1e580f8442e70dd07d2137f (patch) | |
tree | 342ad0af9ec86c2e9369048a3b7448d8f4d54385 /chrome/browser/search/local_ntp_source.cc | |
parent | 5504c56e63e603104f6a9870f3dd30f32eb29f74 (diff) | |
download | chromium_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.cc | 2 |
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; } |