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 /content/public/browser/url_data_source.h | |
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 'content/public/browser/url_data_source.h')
-rw-r--r-- | content/public/browser/url_data_source.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/content/public/browser/url_data_source.h b/content/public/browser/url_data_source.h index 93d38c0..de35090 100644 --- a/content/public/browser/url_data_source.h +++ b/content/public/browser/url_data_source.h @@ -37,7 +37,7 @@ class CONTENT_EXPORT URLDataSource { // The name of this source. // E.g., for favicons, this could be "favicon", which results in paths for // specific resources like "favicon/34" getting sent to this source. - virtual std::string GetSource() = 0; + virtual std::string GetSource() const = 0; // Used by StartDataRequest so that the child class can return the data when // it's available. |