Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(364)

Side by Side Diff: components/history/core/android/urls_sql_handler.cc

Issue 813503003: Move files from chrome/browser/history to components/history (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@favicon-owners
Patch Set: Add missing #include of base/macros.h Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/browser/history/android/urls_sql_handler.h" 5 #include "components/history/core/android/urls_sql_handler.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "components/history/core/browser/url_database.h" 8 #include "components/history/core/browser/url_database.h"
9 9
10 using base::Time; 10 using base::Time;
11 11
12 namespace history { 12 namespace history {
13 13
14 namespace { 14 namespace {
15 15
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after
145 bool UrlsSQLHandler::Delete(const TableIDRows& ids_set) { 145 bool UrlsSQLHandler::Delete(const TableIDRows& ids_set) {
146 for (TableIDRows::const_iterator ids = ids_set.begin(); 146 for (TableIDRows::const_iterator ids = ids_set.begin();
147 ids != ids_set.end(); ++ids) { 147 ids != ids_set.end(); ++ids) {
148 if (!url_db_->DeleteURLRow(ids->url_id)) 148 if (!url_db_->DeleteURLRow(ids->url_id))
149 return false; 149 return false;
150 } 150 }
151 return true; 151 return true;
152 } 152 }
153 153
154 } // namespace history 154 } // namespace history
OLDNEW
« no previous file with comments | « components/history/core/android/urls_sql_handler.h ('k') | components/history/core/android/visit_sql_handler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698