summaryrefslogtreecommitdiffstats
path: root/chrome/browser/profile_manager.h
diff options
context:
space:
mode:
authorpkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-10-02 20:40:47 +0000
committerpkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-10-02 20:40:47 +0000
commitc60d3a08ee8d9608602808339e4b17d4c23fad8d (patch)
treeda7681ae62c6f3fc53707294973bc69a381efdf9 /chrome/browser/profile_manager.h
parent019191a62f17852c6e8a5085bbd62e804d559718 (diff)
downloadchromium_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.h6
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 {