Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(287)

Side by Side Diff: chrome/browser/browser_init_browsertest.cc

Issue 3068004: base/ header cleanup. Forward declaration instead of including. (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: chrome_launcher_unittest.cc Created 10 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « chrome/browser/browser_about_handler.cc ('k') | chrome/browser/browser_shutdown.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "base/command_line.h"
5 #include "chrome/browser/browser.h" 6 #include "chrome/browser/browser.h"
6 #include "chrome/browser/browser_init.h" 7 #include "chrome/browser/browser_init.h"
7 #include "chrome/browser/browser_list.h" 8 #include "chrome/browser/browser_list.h"
8 #include "chrome/browser/browser_window.h" 9 #include "chrome/browser/browser_window.h"
9 #include "chrome/browser/tab_contents/tab_contents.h" 10 #include "chrome/browser/tab_contents/tab_contents.h"
10 #include "chrome/test/in_process_browser_test.h" 11 #include "chrome/test/in_process_browser_test.h"
11 #include "testing/gtest/include/gtest/gtest.h" 12 #include "testing/gtest/include/gtest/gtest.h"
12 13
13 namespace { 14 namespace {
14 15
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 81
81 // Skip about:blank in the first tab 82 // Skip about:blank in the first tab
82 for (int i = 1; i < browser()->tab_count(); i++) { 83 for (int i = 1; i < browser()->tab_count(); i++) {
83 const GURL &url = browser()->GetTabContentsAt(i)->GetURL(); 84 const GURL &url = browser()->GetTabContentsAt(i)->GetURL();
84 ASSERT_EQ(url, testurl); 85 ASSERT_EQ(url, testurl);
85 } 86 }
86 ASSERT_EQ(browser()->tab_count(), 3); 87 ASSERT_EQ(browser()->tab_count(), 3);
87 } 88 }
88 89
89 } // namespace 90 } // namespace
OLDNEW
« no previous file with comments | « chrome/browser/browser_about_handler.cc ('k') | chrome/browser/browser_shutdown.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698