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

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

Issue 870063002: Componentize TopSites, TopSitesBackend, TopSitesDatabase (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@815983002
Patch Set: 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 #ifndef CHROME_BROWSER_HISTORY_TOP_SITES_DATABASE_H_ 5 #ifndef COMPONENTS_HISTORY_CORE_BROWSER_TOP_SITES_DATABASE_H_
6 #define CHROME_BROWSER_HISTORY_TOP_SITES_DATABASE_H_ 6 #define COMPONENTS_HISTORY_CORE_BROWSER_TOP_SITES_DATABASE_H_
7 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 10
11 #include "base/gtest_prod_util.h" 11 #include "base/gtest_prod_util.h"
12 #include "components/history/core/browser/history_types.h" 12 #include "components/history/core/browser/history_types.h"
13 #include "sql/meta_table.h" 13 #include "sql/meta_table.h"
14 14
15 namespace base { 15 namespace base {
16 class FilePath; 16 class FilePath;
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
100 sql::Connection* CreateDB(const base::FilePath& db_name); 100 sql::Connection* CreateDB(const base::FilePath& db_name);
101 101
102 scoped_ptr<sql::Connection> db_; 102 scoped_ptr<sql::Connection> db_;
103 sql::MetaTable meta_table_; 103 sql::MetaTable meta_table_;
104 104
105 DISALLOW_COPY_AND_ASSIGN(TopSitesDatabase); 105 DISALLOW_COPY_AND_ASSIGN(TopSitesDatabase);
106 }; 106 };
107 107
108 } // namespace history 108 } // namespace history
109 109
110 #endif // CHROME_BROWSER_HISTORY_TOP_SITES_DATABASE_H_ 110 #endif // COMPONENTS_HISTORY_CORE_BROWSER_TOP_SITES_DATABASE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698