diff options
author | pkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-10-02 20:37:27 +0000 |
---|---|---|
committer | pkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-10-02 20:37:27 +0000 |
commit | 019191a62f17852c6e8a5085bbd62e804d559718 (patch) | |
tree | 3867502e4a71d6589c5183ea0e6f85a481ee869d /chrome/browser/browser_list.h | |
parent | 2d8d923da42df61e9d65942945456d4b9304ef8e (diff) | |
download | chromium_src-019191a62f17852c6e8a5085bbd62e804d559718.zip chromium_src-019191a62f17852c6e8a5085bbd62e804d559718.tar.gz chromium_src-019191a62f17852c6e8a5085bbd62e804d559718.tar.bz2 |
Convert users of RenderProcessHost iterator to all use same style. The key motivator for this is that at least one old place actually did the wrong thing in its loop and failed to call functions on anything but the first host. This also makes many places slightly shorter.
Remove an unneeded #include in web_cache_manager.h by converting it to a forward declaration.
Update copyrights on touched files.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/242104
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27890 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/browser_list.h')
-rw-r--r-- | chrome/browser/browser_list.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/browser_list.h b/chrome/browser/browser_list.h index fda1aa4..de07b9a 100644 --- a/chrome/browser/browser_list.h +++ b/chrome/browser/browser_list.h @@ -1,4 +1,4 @@ -// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. +// Copyright (c) 2009 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. @@ -139,7 +139,7 @@ class TabContents; // browser windows or tabs while iterating may cause incorrect behavior. // // Example: -// for (TabContentsIterator iterator; !iterator.done(); iterator++) { +// for (TabContentsIterator iterator; !iterator.done(); ++iterator) { // TabContents* cur = *iterator; // -or- // iterator->operationOnTabContents(); |