| Index: components/history/core/android/sql_handler.cc
|
| diff --git a/components/history/core/android/sql_handler.cc b/components/history/core/android/sql_handler.cc
|
| deleted file mode 100644
|
| index 91f882a1220dd3b0e696852e06509fd71001892c..0000000000000000000000000000000000000000
|
| --- a/components/history/core/android/sql_handler.cc
|
| +++ /dev/null
|
| @@ -1,38 +0,0 @@
|
| -// Copyright (c) 2012 The Chromium Authors. All rights reserved.
|
| -// Use of this source code is governed by a BSD-style license that can be
|
| -// found in the LICENSE file.
|
| -
|
| -#include "components/history/core/android/sql_handler.h"
|
| -
|
| -namespace history {
|
| -
|
| -TableIDRow::TableIDRow()
|
| - : url_id(0),
|
| - bookmarked(false) {
|
| -}
|
| -
|
| -TableIDRow::~TableIDRow() {
|
| -}
|
| -
|
| -SQLHandler::SQLHandler(const HistoryAndBookmarkRow::ColumnID columns[],
|
| - int column_count)
|
| - : columns_(columns, columns + column_count) {
|
| -}
|
| -
|
| -SQLHandler::~SQLHandler() {
|
| -}
|
| -
|
| -bool SQLHandler::HasColumnIn(const HistoryAndBookmarkRow& row) {
|
| - for (std::set<HistoryAndBookmarkRow::ColumnID>::const_iterator i =
|
| - columns_.begin(); i != columns_.end(); ++i) {
|
| - if (row.is_value_set_explicitly(*i))
|
| - return true;
|
| - }
|
| - return false;
|
| -}
|
| -
|
| -bool SQLHandler::HasColumn(HistoryAndBookmarkRow::ColumnID id) {
|
| - return columns_.find(id) != columns_.end();
|
| -}
|
| -
|
| -} // namespace history.
|
|
|