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

Unified Diff: chrome/browser/history/shortcuts_database.cc

Issue 10071032: RefCounted types should not have public destructors, chrome/browser/ part 1 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Implementation fixes Created 8 years, 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/history/shortcuts_database.h ('k') | chrome/browser/history/top_sites.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/history/shortcuts_database.cc
diff --git a/chrome/browser/history/shortcuts_database.cc b/chrome/browser/history/shortcuts_database.cc
index 035d82b8af36046ad7971cfafe822dfae00a4457..dc1da07b3cbd9d9667f12724dabaf4baf89ab9f5 100644
--- a/chrome/browser/history/shortcuts_database.cc
+++ b/chrome/browser/history/shortcuts_database.cc
@@ -58,8 +58,6 @@ ShortcutsDatabase::ShortcutsDatabase(const FilePath& folder_path)
: database_path_(folder_path.Append(FilePath(kShortcutsDatabaseName))) {
}
-ShortcutsDatabase::~ShortcutsDatabase() {}
-
bool ShortcutsDatabase::Init() {
// Set the database page size to something a little larger to give us
// better performance (we're typically seek rather than bandwidth limited).
@@ -158,6 +156,8 @@ bool ShortcutsDatabase::LoadShortcuts(GuidToShortcutMap* shortcuts) {
return true;
}
+ShortcutsDatabase::~ShortcutsDatabase() {}
+
bool ShortcutsDatabase::EnsureTable() {
if (!db_.DoesTableExist(kShortcutsDBName)) {
if (!db_.Execute(base::StringPrintf(
« no previous file with comments | « chrome/browser/history/shortcuts_database.h ('k') | chrome/browser/history/top_sites.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698