/external/chromium_org/chrome/browser/history/android/ |
android_history_types_unittest.cc | 12 EXPECT_EQ(HistoryAndBookmarkRow::ID, 13 HistoryAndBookmarkRow::GetColumnID("_id")); 14 EXPECT_EQ(HistoryAndBookmarkRow::URL, 15 HistoryAndBookmarkRow::GetColumnID("url")); 16 EXPECT_EQ(HistoryAndBookmarkRow::TITLE, 17 HistoryAndBookmarkRow::GetColumnID("title")); 18 EXPECT_EQ(HistoryAndBookmarkRow::CREATED, 19 HistoryAndBookmarkRow::GetColumnID("created")); 20 EXPECT_EQ(HistoryAndBookmarkRow::LAST_VISIT_TIME, 21 HistoryAndBookmarkRow::GetColumnID("date")) [all...] |
sql_handler.h | 34 // The HistoryAndBookmarkRow given in Insert() or Update() provide the data for 35 // insert or update. No all the data in HistoryAndBookmarkRow maybe valid, using 36 // HistoryAndBookmarkRow::is_value_set_explicitly() method to see if the data 42 SQLHandler(const HistoryAndBookmarkRow::ColumnID columns[], int column_count); 47 virtual bool Update(const HistoryAndBookmarkRow& row, 53 virtual bool Insert(HistoryAndBookmarkRow* row) = 0; 61 bool HasColumnIn(const HistoryAndBookmarkRow& row); 64 bool HasColumn(HistoryAndBookmarkRow::ColumnID id); 68 const std::set<HistoryAndBookmarkRow::ColumnID> columns_;
|
urls_sql_handler.cc | 16 const HistoryAndBookmarkRow::ColumnID kInterestingColumns[] = { 17 HistoryAndBookmarkRow::URL, HistoryAndBookmarkRow::VISIT_COUNT, 18 HistoryAndBookmarkRow::TITLE, HistoryAndBookmarkRow::LAST_VISIT_TIME }; 30 bool UrlsSQLHandler::Insert(HistoryAndBookmarkRow* row) { 39 if (row->is_value_set_explicitly(HistoryAndBookmarkRow::TITLE)) 42 if (row->is_value_set_explicitly(HistoryAndBookmarkRow::LAST_VISIT_TIME)) 45 if (row->is_value_set_explicitly(HistoryAndBookmarkRow::VISIT_COUNT)) 49 if (!row->is_value_set_explicitly(HistoryAndBookmarkRow::LAST_VISIT_TIME)) [all...] |
sql_handler.cc | 17 SQLHandler::SQLHandler(const HistoryAndBookmarkRow::ColumnID columns[], 25 bool SQLHandler::HasColumnIn(const HistoryAndBookmarkRow& row) { 26 for (std::set<HistoryAndBookmarkRow::ColumnID>::const_iterator i = 34 bool SQLHandler::HasColumn(HistoryAndBookmarkRow::ColumnID id) {
|
android_history_types.cc | 31 HistoryAndBookmarkRow::ColumnID> { 35 HistoryAndBookmarkRow::COLUMN_END, 39 static_cast<HistoryAndBookmarkRow::ColumnID>(i); 67 HistoryAndBookmarkRow::HistoryAndBookmarkRow() 77 HistoryAndBookmarkRow::~HistoryAndBookmarkRow() { 80 std::string HistoryAndBookmarkRow::GetAndroidName(ColumnID id) { 84 HistoryAndBookmarkRow::ColumnID HistoryAndBookmarkRow::GetColumnID [all...] |
android_urls_sql_handler.h | 20 virtual bool Update(const HistoryAndBookmarkRow& row, 23 virtual bool Insert(HistoryAndBookmarkRow* row) OVERRIDE;
|
urls_sql_handler.h | 21 virtual bool Insert(HistoryAndBookmarkRow* row) OVERRIDE; 22 virtual bool Update(const HistoryAndBookmarkRow& row,
|
android_urls_sql_handler.cc | 15 const HistoryAndBookmarkRow::ColumnID kInterestingColumns[] = { 16 HistoryAndBookmarkRow::RAW_URL, HistoryAndBookmarkRow::URL_ID }; 28 bool AndroidURLsSQLHandler::Update(const HistoryAndBookmarkRow& row, 30 DCHECK(row.is_value_set_explicitly(HistoryAndBookmarkRow::URL_ID)); 31 DCHECK(row.is_value_set_explicitly(HistoryAndBookmarkRow::RAW_URL)); 43 bool AndroidURLsSQLHandler::Insert(HistoryAndBookmarkRow* row) {
|
favicon_sql_handler.h | 21 virtual bool Update(const HistoryAndBookmarkRow& row, 24 virtual bool Insert(HistoryAndBookmarkRow* row) OVERRIDE;
|
visit_sql_handler.cc | 17 const HistoryAndBookmarkRow::ColumnID kInterestingColumns[] = { 18 HistoryAndBookmarkRow::CREATED, HistoryAndBookmarkRow::VISIT_COUNT, 19 HistoryAndBookmarkRow::LAST_VISIT_TIME }; 42 bool VisitSQLHandler::Update(const HistoryAndBookmarkRow& row, 60 if (row.is_value_set_explicitly(HistoryAndBookmarkRow::CREATED) || 67 if (row.is_value_set_explicitly(HistoryAndBookmarkRow::CREATED) && 81 bool VisitSQLHandler::Insert(HistoryAndBookmarkRow* row) { 82 DCHECK(row->is_value_set_explicitly(HistoryAndBookmarkRow::URL_ID)); 94 if (row->is_value_set_explicitly(HistoryAndBookmarkRow::CREATED) & [all...] |
visit_sql_handler.h | 25 virtual bool Update(const HistoryAndBookmarkRow& row, 27 virtual bool Insert(HistoryAndBookmarkRow* row) OVERRIDE;
|
sqlite_cursor_unittest.cc | 35 using history::HistoryAndBookmarkRow; 154 HistoryAndBookmarkRow row; 174 std::vector<HistoryAndBookmarkRow::ColumnID> projections; 175 projections.push_back(HistoryAndBookmarkRow::URL); 176 projections.push_back(HistoryAndBookmarkRow::LAST_VISIT_TIME); 177 projections.push_back(HistoryAndBookmarkRow::VISIT_COUNT); 178 projections.push_back(HistoryAndBookmarkRow::FAVICON); 190 HistoryAndBookmarkRow::GetAndroidName(HistoryAndBookmarkRow::URL)); 191 column_names.push_back(HistoryAndBookmarkRow::GetAndroidName [all...] |
favicon_sql_handler.cc | 19 const HistoryAndBookmarkRow::ColumnID kInterestingColumns[] = { 20 HistoryAndBookmarkRow::FAVICON}; 32 bool FaviconSQLHandler::Update(const HistoryAndBookmarkRow& row, 100 bool FaviconSQLHandler::Insert(HistoryAndBookmarkRow* row) { 101 if (!row->is_value_set_explicitly(HistoryAndBookmarkRow::FAVICON) || 105 DCHECK(row->is_value_set_explicitly(HistoryAndBookmarkRow::URL));
|
android_provider_backend.cc | 73 bool IsHistoryAndBookmarkRowValid(const HistoryAndBookmarkRow& row) { 75 DCHECK(row.is_value_set_explicitly(HistoryAndBookmarkRow::RAW_URL) == 76 row.is_value_set_explicitly(HistoryAndBookmarkRow::URL)); 87 if (row.is_value_set_explicitly(HistoryAndBookmarkRow::LAST_VISIT_TIME) && 91 if (row.is_value_set_explicitly(HistoryAndBookmarkRow::CREATED) && 95 if (row.is_value_set_explicitly(HistoryAndBookmarkRow::LAST_VISIT_TIME) && 96 row.is_value_set_explicitly(HistoryAndBookmarkRow::CREATED)) { 100 if (row.is_value_set_explicitly(HistoryAndBookmarkRow::VISIT_COUNT) && 101 row.is_value_set_explicitly(HistoryAndBookmarkRow::CREATED) && 102 row.is_value_set_explicitly(HistoryAndBookmarkRow::LAST_VISIT_TIME)) [all...] |
android_provider_backend.h | 66 const std::vector<HistoryAndBookmarkRow::ColumnID>& projections, 77 bool UpdateHistoryAndBookmarks(const HistoryAndBookmarkRow& row, 83 AndroidURLID InsertHistoryAndBookmark(const HistoryAndBookmarkRow& values); 201 bool UpdateHistoryAndBookmarks(const HistoryAndBookmarkRow& row, 212 AndroidURLID InsertHistoryAndBookmark(const HistoryAndBookmarkRow& values, 269 const std::vector<HistoryAndBookmarkRow::ColumnID>& projections, 293 bool SimulateUpdateURL(const HistoryAndBookmarkRow& row, 300 const std::vector<HistoryAndBookmarkRow::ColumnID>& projections,
|
bookmark_model_sql_handler.h | 25 virtual bool Update(const HistoryAndBookmarkRow& row, 28 virtual bool Insert(HistoryAndBookmarkRow* row) OVERRIDE;
|
bookmark_model_sql_handler.cc | 24 const HistoryAndBookmarkRow::ColumnID kInterestingColumns[] = { 25 HistoryAndBookmarkRow::BOOKMARK, HistoryAndBookmarkRow::TITLE }; 100 bool BookmarkModelSQLHandler::Update(const HistoryAndBookmarkRow& row, 104 if (row.is_value_set_explicitly(HistoryAndBookmarkRow::BOOKMARK)) { 109 if (row.is_value_set_explicitly(HistoryAndBookmarkRow::PARENT_ID)) { 129 } else if (row.is_value_set_explicitly(HistoryAndBookmarkRow::TITLE)) { 152 bool BookmarkModelSQLHandler::Insert(HistoryAndBookmarkRow* row) { 153 DCHECK(row->is_value_set_explicitly(HistoryAndBookmarkRow::URL)); 154 if (!row->is_value_set_explicitly(HistoryAndBookmarkRow::BOOKMARK) | [all...] |
urls_sql_handler_unittest.cc | 55 HistoryAndBookmarkRow row; 73 HistoryAndBookmarkRow row; 91 HistoryAndBookmarkRow row; 110 HistoryAndBookmarkRow row; 131 HistoryAndBookmarkRow row; 148 HistoryAndBookmarkRow row; 167 HistoryAndBookmarkRow row; 182 HistoryAndBookmarkRow update_row; 200 HistoryAndBookmarkRow row; 215 HistoryAndBookmarkRow update_row1 [all...] |
visit_sql_handler_unittest.cc | 55 HistoryAndBookmarkRow row; 73 HistoryAndBookmarkRow row; 92 HistoryAndBookmarkRow row; 112 HistoryAndBookmarkRow row; 132 HistoryAndBookmarkRow row; 157 HistoryAndBookmarkRow row; 170 HistoryAndBookmarkRow update_row; 190 HistoryAndBookmarkRow row; 202 HistoryAndBookmarkRow update_row; 223 HistoryAndBookmarkRow row [all...] |
android_history_provider_service.h | 70 const std::vector<history::HistoryAndBookmarkRow::ColumnID>& projections, 83 Handle UpdateHistoryAndBookmarks(const history::HistoryAndBookmarkRow& row, 103 Handle InsertHistoryAndBookmark(const history::HistoryAndBookmarkRow& values,
|
android_provider_backend_unittest.cc | 428 std::vector<HistoryAndBookmarkRow::ColumnID> projections; 430 projections.push_back(HistoryAndBookmarkRow::ID); 431 projections.push_back(HistoryAndBookmarkRow::URL); 432 projections.push_back(HistoryAndBookmarkRow::TITLE); 433 projections.push_back(HistoryAndBookmarkRow::CREATED); 434 projections.push_back(HistoryAndBookmarkRow::LAST_VISIT_TIME); 435 projections.push_back(HistoryAndBookmarkRow::VISIT_COUNT); 436 projections.push_back(HistoryAndBookmarkRow::FAVICON); 437 projections.push_back(HistoryAndBookmarkRow::BOOKMARK); 489 HistoryAndBookmarkRow row1 [all...] |
android_history_provider_service_unittest.cc | 25 using history::HistoryAndBookmarkRow; 155 HistoryAndBookmarkRow row; 168 std::vector<HistoryAndBookmarkRow::ColumnID> projections; 169 projections.push_back(HistoryAndBookmarkRow::ID); 190 HistoryAndBookmarkRow update_row;
|
bookmark_model_sql_handler_unittest.cc | 79 HistoryAndBookmarkRow row; 98 HistoryAndBookmarkRow row; 126 HistoryAndBookmarkRow row; 186 HistoryAndBookmarkRow update_title; 210 HistoryAndBookmarkRow row;
|
android_history_provider_service.cc | 23 const std::vector<history::HistoryAndBookmarkRow::ColumnID>& projections, 45 const history::HistoryAndBookmarkRow& row, 86 const history::HistoryAndBookmarkRow& values,
|
/external/chromium_org/chrome/browser/history/ |
history_backend_android.cc | 13 const HistoryAndBookmarkRow& row) { 26 const std::vector<HistoryAndBookmarkRow::ColumnID>& projections, 43 const HistoryAndBookmarkRow& row,
|