diff options
author | pkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-10-02 20:40:47 +0000 |
---|---|---|
committer | pkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-10-02 20:40:47 +0000 |
commit | c60d3a08ee8d9608602808339e4b17d4c23fad8d (patch) | |
tree | da7681ae62c6f3fc53707294973bc69a381efdf9 /chrome/browser/profile_manager.h | |
parent | 019191a62f17852c6e8a5085bbd62e804d559718 (diff) | |
download | chromium_src-c60d3a08ee8d9608602808339e4b17d4c23fad8d.zip chromium_src-c60d3a08ee8d9608602808339e4b17d4c23fad8d.tar.gz chromium_src-c60d3a08ee8d9608602808339e4b17d4c23fad8d.tar.bz2 |
Make usage of iterator types more consistent, which also saves some code.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/243072
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27891 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/profile_manager.h')
-rw-r--r-- | chrome/browser/profile_manager.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/chrome/browser/profile_manager.h b/chrome/browser/profile_manager.h index 56b9998..ecbbfc8 100644 --- a/chrome/browser/profile_manager.h +++ b/chrome/browser/profile_manager.h @@ -117,8 +117,10 @@ class ProfileManager : public NonThreadSafe, typedef ProfileVector::iterator iterator; typedef ProfileVector::const_iterator const_iterator; - const_iterator begin() { return profiles_.begin(); } - const_iterator end() { return profiles_.end(); } + iterator begin() { return profiles_.begin(); } + const_iterator begin() const { return profiles_.begin(); } + iterator end() { return profiles_.end(); } + const_iterator end() const { return profiles_.end(); } typedef std::vector<AvailableProfile*> AvailableProfileVector; const AvailableProfileVector& available_profiles() const { |