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

Side by Side Diff: components/history/core/browser/top_sites_database.cc

Issue 2293583002: Change includes of histogram.h to histogram_macros.h. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 3 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/top_sites_database.h" 5 #include "components/history/core/browser/top_sites_database.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 #include <stdint.h> 8 #include <stdint.h>
9 #include <utility> 9 #include <utility>
10 10
11 #include "base/files/file_util.h" 11 #include "base/files/file_util.h"
12 #include "base/memory/ref_counted.h" 12 #include "base/memory/ref_counted.h"
13 #include "base/metrics/histogram.h" 13 #include "base/metrics/histogram_macros.h"
14 #include "base/strings/string_split.h" 14 #include "base/strings/string_split.h"
15 #include "base/strings/string_util.h" 15 #include "base/strings/string_util.h"
16 #include "components/history/core/browser/history_types.h" 16 #include "components/history/core/browser/history_types.h"
17 #include "components/history/core/browser/top_sites.h" 17 #include "components/history/core/browser/top_sites.h"
18 #include "components/history/core/common/thumbnail_score.h" 18 #include "components/history/core/common/thumbnail_score.h"
19 #include "sql/connection.h" 19 #include "sql/connection.h"
20 #include "sql/recovery.h" 20 #include "sql/recovery.h"
21 #include "sql/statement.h" 21 #include "sql/statement.h"
22 #include "sql/transaction.h" 22 #include "sql/transaction.h"
23 #include "third_party/sqlite/sqlite3.h" 23 #include "third_party/sqlite/sqlite3.h"
(...skipping 702 matching lines...) Expand 10 before | Expand all | Expand 10 after
726 db->set_error_callback(base::Bind(&DatabaseErrorCallback, db.get(), db_name)); 726 db->set_error_callback(base::Bind(&DatabaseErrorCallback, db.get(), db_name));
727 db->set_page_size(4096); 727 db->set_page_size(4096);
728 db->set_cache_size(32); 728 db->set_cache_size(32);
729 729
730 if (!db->Open(db_name)) 730 if (!db->Open(db_name))
731 return NULL; 731 return NULL;
732 return db.release(); 732 return db.release();
733 } 733 }
734 734
735 } // namespace history 735 } // namespace history
OLDNEW
« no previous file with comments | « components/history/core/browser/in_memory_database.cc ('k') | components/history/core/browser/web_history_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698