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

Unified Diff: chrome/browser/protector/session_startup_change_unittest.cc

Issue 10384106: Extract StartupTabs and startup types from StartupBrowserCreator. (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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/protector/session_startup_change.cc ('k') | chrome/browser/tabs/pinned_tab_codec.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/protector/session_startup_change_unittest.cc
===================================================================
--- chrome/browser/protector/session_startup_change_unittest.cc (revision 136582)
+++ chrome/browser/protector/session_startup_change_unittest.cc (working copy)
@@ -7,6 +7,7 @@
#include "base/values.h"
#include "chrome/browser/prefs/session_startup_pref.h"
#include "chrome/browser/protector/base_setting_change.h"
+#include "chrome/browser/ui/startup/startup_tab.h"
#include "chrome/test/base/testing_profile.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "grit/generated_resources.h"
@@ -42,7 +43,7 @@
protected:
TestingProfile profile_;
SessionStartupPref initial_startup_pref_;
- PinnedTabCodec::Tabs empty_pinned_tabs_;
+ StartupTabs empty_pinned_tabs_;
};
TEST_F(SessionStartupChangeTest, InitAndApply) {
@@ -103,8 +104,8 @@
EXPECT_EQ(kNoDisplayName, change->GetApplyDisplayName());
// Pinned tabs count as startup URLs as well.
- PinnedTabCodec::Tabs new_pinned_tabs;
- StartupBrowserCreator::LaunchWithProfile::Tab pinned_tab;
+ StartupTabs new_pinned_tabs;
+ StartupTab pinned_tab;
pinned_tab.url = GURL(kStartupUrl3);
new_pinned_tabs.push_back(pinned_tab);
change.reset(
« no previous file with comments | « chrome/browser/protector/session_startup_change.cc ('k') | chrome/browser/tabs/pinned_tab_codec.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698