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

Side by Side Diff: components/history/core/browser/android/android_urls_sql_handler.cc

Issue 1548113002: Switch to standard integer types in components/, part 2 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: gn Created 4 years, 12 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 "components/history/core/browser/android/android_urls_sql_handler.h" 5 #include "components/history/core/browser/android/android_urls_sql_handler.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "base/macros.h"
8 #include "components/history/core/browser/android/android_urls_database.h" 9 #include "components/history/core/browser/android/android_urls_database.h"
9 10
10 namespace history { 11 namespace history {
11 12
12 namespace { 13 namespace {
13 14
14 // The interesting columns of this handler. 15 // The interesting columns of this handler.
15 const HistoryAndBookmarkRow::ColumnID kInterestingColumns[] = { 16 const HistoryAndBookmarkRow::ColumnID kInterestingColumns[] = {
16 HistoryAndBookmarkRow::RAW_URL, HistoryAndBookmarkRow::URL_ID }; 17 HistoryAndBookmarkRow::RAW_URL, HistoryAndBookmarkRow::URL_ID };
17 18
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 id != ids_set.end(); ++id) 55 id != ids_set.end(); ++id)
55 ids.push_back(id->url_id); 56 ids.push_back(id->url_id);
56 57
57 if (!ids.size()) 58 if (!ids.size())
58 return true; 59 return true;
59 60
60 return android_urls_db_->DeleteAndroidURLRows(ids); 61 return android_urls_db_->DeleteAndroidURLRows(ids);
61 } 62 }
62 63
63 } // namespace history. 64 } // namespace history.
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698