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

Side by Side Diff: chrome/browser/history/top_sites_database.h

Issue 339433007: Componentize URLDatabase (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 years, 6 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
« no previous file with comments | « chrome/browser/history/top_sites_backend.cc ('k') | chrome/browser/history/url_database.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 CHROME_BROWSER_HISTORY_TOP_SITES_DATABASE_H_
6 #define CHROME_BROWSER_HISTORY_TOP_SITES_DATABASE_H_ 6 #define CHROME_BROWSER_HISTORY_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 "chrome/browser/history/history_types.h" 12 #include "chrome/browser/history/history_types.h"
13 #include "chrome/browser/history/url_database.h" // For DBCloseScoper.
14 #include "sql/meta_table.h" 13 #include "sql/meta_table.h"
15 14
16 namespace base { 15 namespace base {
17 class FilePath; 16 class FilePath;
18 } 17 }
19 18
20 namespace sql { 19 namespace sql {
21 class Connection; 20 class Connection;
22 } 21 }
23 22
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
102 101
103 scoped_ptr<sql::Connection> db_; 102 scoped_ptr<sql::Connection> db_;
104 sql::MetaTable meta_table_; 103 sql::MetaTable meta_table_;
105 104
106 DISALLOW_COPY_AND_ASSIGN(TopSitesDatabase); 105 DISALLOW_COPY_AND_ASSIGN(TopSitesDatabase);
107 }; 106 };
108 107
109 } // namespace history 108 } // namespace history
110 109
111 #endif // CHROME_BROWSER_HISTORY_TOP_SITES_DATABASE_H_ 110 #endif // CHROME_BROWSER_HISTORY_TOP_SITES_DATABASE_H_
OLDNEW
« no previous file with comments | « chrome/browser/history/top_sites_backend.cc ('k') | chrome/browser/history/url_database.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698