diff options
author | mirandac@google.com <mirandac@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-07-20 03:45:40 +0000 |
---|---|---|
committer | mirandac@google.com <mirandac@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-07-20 03:45:40 +0000 |
commit | dd095a51f2090817732ceace65ce4901a694378f (patch) | |
tree | d8977d2027b7e741f1e606482e774af58aeb9545 /chrome/browser/tab_contents | |
parent | 49d40d89f6fd80412661f3c4707076988f5d2c3d (diff) | |
download | chromium_src-dd095a51f2090817732ceace65ce4901a694378f.zip chromium_src-dd095a51f2090817732ceace65ce4901a694378f.tar.gz chromium_src-dd095a51f2090817732ceace65ce4901a694378f.tar.bz2 |
Add bookmark promo to NTP on first run.
BUG=49328
TEST=First tip seen on import to empty profile is import bookmarks promo. This promo appears on the first 5 browser restarts, unless bookmarks are imported.
Review URL: http://codereview.chromium.org/2805089
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52993 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/tab_contents')
-rw-r--r-- | chrome/browser/tab_contents/web_contents_unittest.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/chrome/browser/tab_contents/web_contents_unittest.cc b/chrome/browser/tab_contents/web_contents_unittest.cc index ba0d171..1ece79f 100644 --- a/chrome/browser/tab_contents/web_contents_unittest.cc +++ b/chrome/browser/tab_contents/web_contents_unittest.cc @@ -43,7 +43,9 @@ static void InitNavigateParams(ViewHostMsg_FrameNavigate_Params* params, // Subclass the TestingProfile so that it can return certain services we need. class TabContentsTestingProfile : public TestingProfile { public: - TabContentsTestingProfile() : TestingProfile() { } + TabContentsTestingProfile() : TestingProfile() { + CreateBookmarkModel(false); + } virtual PrefService* GetPrefs() { if (!prefs_.get()) { |