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

Side by Side Diff: chrome/browser/ui/startup/startup_browser_creator_browsertest.cc

Issue 10383114: Rename BrowserInit to StartupBrowserCreator, and move into startup subdir. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 7 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 "base/utf_string_conversions.h"
8 #include "chrome/browser/browser_process.h" 8 #include "chrome/browser/browser_process.h"
9 #include "chrome/browser/extensions/extension_browsertest.h" 9 #include "chrome/browser/extensions/extension_browsertest.h"
10 #include "chrome/browser/extensions/extension_service.h" 10 #include "chrome/browser/extensions/extension_service.h"
(...skipping 678 matching lines...) Expand 10 before | Expand all | Expand 10 after
689 ASSERT_EQ(1u, BrowserList::GetBrowserCount(profile_urls)); 689 ASSERT_EQ(1u, BrowserList::GetBrowserCount(profile_urls));
690 new_browser = FindOneOtherBrowserForProfile(profile_urls, NULL); 690 new_browser = FindOneOtherBrowserForProfile(profile_urls, NULL);
691 ASSERT_TRUE(new_browser); 691 ASSERT_TRUE(new_browser);
692 ASSERT_EQ(1, new_browser->tab_count()); 692 ASSERT_EQ(1, new_browser->tab_count());
693 EXPECT_EQ(GURL(chrome::kChromeUINewTabURL), 693 EXPECT_EQ(GURL(chrome::kChromeUINewTabURL),
694 new_browser->GetWebContentsAt(0)->GetURL()); 694 new_browser->GetWebContentsAt(0)->GetURL());
695 EXPECT_EQ(1U, new_browser->GetTabContentsWrapperAt(0)->infobar_tab_helper()-> 695 EXPECT_EQ(1U, new_browser->GetTabContentsWrapperAt(0)->infobar_tab_helper()->
696 infobar_count()); 696 infobar_count());
697 } 697 }
698 #endif // !OS_CHROMEOS 698 #endif // !OS_CHROMEOS
OLDNEW
« no previous file with comments | « chrome/browser/ui/startup/startup_browser_creator.cc ('k') | chrome/browser/ui/startup/startup_browser_creator_win.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698