summaryrefslogtreecommitdiffstats
path: root/chrome/browser/dom_ui/dom_ui_unittest.cc
diff options
context:
space:
mode:
authormirandac@google.com <mirandac@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-20 03:45:40 +0000
committermirandac@google.com <mirandac@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-20 03:45:40 +0000
commitdd095a51f2090817732ceace65ce4901a694378f (patch)
treed8977d2027b7e741f1e606482e774af58aeb9545 /chrome/browser/dom_ui/dom_ui_unittest.cc
parent49d40d89f6fd80412661f3c4707076988f5d2c3d (diff)
downloadchromium_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/dom_ui/dom_ui_unittest.cc')
-rw-r--r--chrome/browser/dom_ui/dom_ui_unittest.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/chrome/browser/dom_ui/dom_ui_unittest.cc b/chrome/browser/dom_ui/dom_ui_unittest.cc
index 51f5e1e..8c00663 100644
--- a/chrome/browser/dom_ui/dom_ui_unittest.cc
+++ b/chrome/browser/dom_ui/dom_ui_unittest.cc
@@ -84,6 +84,7 @@ class DOMUITest : public RenderViewHostTestHarness {
// TabContents when we first navigate to a DOM UI page, then to a standard
// non-DOM-UI page.
TEST_F(DOMUITest, DOMUIToStandard) {
+ profile_->CreateBookmarkModel(true);
DoNavigationTest(contents(), 1);
// Test the case where we're not doing the initial navigation. This is