| OLD | NEW |
| (Empty) |
| 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #include "chrome/browser/ui/browser_iterator.h" | |
| 6 | |
| 7 // TODO(scottmg): Remove this file entirely. http://crbug.com/558054. | |
| 8 | |
| 9 namespace chrome { | |
| 10 | |
| 11 BrowserIterator::BrowserIterator() | |
| 12 : browser_list_(BrowserList::GetInstance()), | |
| 13 iterator_(browser_list_->begin()) { | |
| 14 } | |
| 15 | |
| 16 BrowserIterator::~BrowserIterator() { | |
| 17 } | |
| 18 | |
| 19 void BrowserIterator::Next() { | |
| 20 ++iterator_; | |
| 21 } | |
| 22 | |
| 23 } // namespace chrome | |
| OLD | NEW |