Home | History | Annotate | Download | only in android

Lines Matching defs:history_backend

20 #include "chrome/browser/history/history_backend.h"
250 scoped_refptr<HistoryBackend> history_backend;
251 history_backend = new HistoryBackend(
253 history_backend->Init(std::string(), false);
254 history_backend->AddVisits(url1, visits1, history::SOURCE_SYNCED);
255 history_backend->AddVisits(url2, visits2, history::SOURCE_SYNCED);
258 ASSERT_TRUE(history_backend->GetURL(url1, &url_row));
260 ASSERT_TRUE(history_backend->GetURL(url2, &url_row));
265 history_backend->SetFavicons(url2, favicon_base::FAVICON, GURL(), bitmaps);
266 history_backend->Closing();
387 scoped_refptr<HistoryBackend> history_backend;
388 history_backend = new HistoryBackend(
390 history_backend->Init(std::string(), false);
391 history_backend->AddVisits(url1, visits1, history::SOURCE_SYNCED);
392 history_backend->AddVisits(url2, visits2, history::SOURCE_SYNCED);
395 ASSERT_TRUE(history_backend->GetURL(url1, &url_rows[0]));
396 ASSERT_TRUE(history_backend->GetURL(url2, &url_rows[1]));
399 ASSERT_EQ(2u, history_backend->UpdateURLs(url_rows));
403 history_backend->SetFavicons(url2, favicon_base::FAVICON, GURL(), bitmaps);
404 history_backend->Closing();
1823 scoped_refptr<HistoryBackend> history_backend;
1824 history_backend = new HistoryBackend(
1826 history_backend->Init(std::string(), false);
1827 history_backend->AddVisits(url1, visits1, history::SOURCE_SYNCED);
1828 history_backend->AddVisits(url2, visits2, history::SOURCE_SYNCED);
1832 ASSERT_TRUE(history_backend->GetURL(url1, &url_rows[0]));
1833 ASSERT_TRUE(history_backend->GetURL(url2, &url_rows[1]));
1836 ASSERT_EQ(2u, history_backend->UpdateURLs(url_rows));
1840 history_backend->SetFavicons(url2, favicon_base::FAVICON, GURL(), bitmaps);
1841 history_backend->Closing();