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

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

Issue 3145001: FBTF: Clean up task.h in x11_util.h and header usage in some delegates. (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: more 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
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 "base/command_line.h"
6 #include "base/file_path.h" 6 #include "base/file_path.h"
7 #include "base/utf_string_conversions.h"
7 #include "chrome/browser/browser.h" 8 #include "chrome/browser/browser.h"
8 #include "chrome/browser/browser_init.h" 9 #include "chrome/browser/browser_init.h"
9 #include "chrome/browser/browser_list.h" 10 #include "chrome/browser/browser_list.h"
10 #include "chrome/browser/browser_window.h" 11 #include "chrome/browser/browser_window.h"
11 #include "chrome/browser/tab_contents/tab_contents.h" 12 #include "chrome/browser/tab_contents/tab_contents.h"
12 #include "chrome/test/in_process_browser_test.h" 13 #include "chrome/test/in_process_browser_test.h"
13 #include "testing/gtest/include/gtest/gtest.h" 14 #include "testing/gtest/include/gtest/gtest.h"
14 15
15 namespace { 16 namespace {
16 17
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 83
83 // Skip about:blank in the first tab 84 // Skip about:blank in the first tab
84 for (int i = 1; i < browser()->tab_count(); i++) { 85 for (int i = 1; i < browser()->tab_count(); i++) {
85 const GURL &url = browser()->GetTabContentsAt(i)->GetURL(); 86 const GURL &url = browser()->GetTabContentsAt(i)->GetURL();
86 ASSERT_EQ(url, testurl); 87 ASSERT_EQ(url, testurl);
87 } 88 }
88 ASSERT_EQ(browser()->tab_count(), 3); 89 ASSERT_EQ(browser()->tab_count(), 3);
89 } 90 }
90 91
91 } // namespace 92 } // namespace
OLDNEW
« no previous file with comments | « chrome/browser/blocked_popup_container.cc ('k') | chrome/browser/chromeos/frame/panel_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698