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

Side by Side Diff: chrome/browser/history/android/android_urls_sql_handler.cc

Issue 10817021: Revert 147988 - Upgrade AlignedMemory to support dynamic allocations. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 5 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 | Annotate | Revision Log
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/android_urls_sql_handler.h" 5 #include "chrome/browser/history/android/android_urls_sql_handler.h"
6 6
7 #include "base/logging.h"
8 #include "chrome/browser/history/history_database.h" 7 #include "chrome/browser/history/history_database.h"
9 8
10 namespace history { 9 namespace history {
11 10
12 namespace { 11 namespace {
13 12
14 // The interesting columns of this handler. 13 // The interesting columns of this handler.
15 const HistoryAndBookmarkRow::ColumnID kInterestingColumns[] = { 14 const HistoryAndBookmarkRow::ColumnID kInterestingColumns[] = {
16 HistoryAndBookmarkRow::RAW_URL, HistoryAndBookmarkRow::URL_ID }; 15 HistoryAndBookmarkRow::RAW_URL, HistoryAndBookmarkRow::URL_ID };
17 16
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 id != ids_set.end(); ++id) 52 id != ids_set.end(); ++id)
54 ids.push_back(id->url_id); 53 ids.push_back(id->url_id);
55 54
56 if (!ids.size()) 55 if (!ids.size())
57 return true; 56 return true;
58 57
59 return history_db_->DeleteAndroidURLRows(ids); 58 return history_db_->DeleteAndroidURLRows(ids);
60 } 59 }
61 60
62 } // namespace history. 61 } // namespace history.
OLDNEW
« no previous file with comments | « base/memory/aligned_memory_unittest.cc ('k') | chrome/browser/ui/find_bar/find_bar_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698