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

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

Issue 10948045: introduce chrome/browser/common directory and move url_database(and its dependencies) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_IN_MEMORY_DATABASE_H_ 5 #ifndef CHROME_BROWSER_HISTORY_IN_MEMORY_DATABASE_H_
6 #define CHROME_BROWSER_HISTORY_IN_MEMORY_DATABASE_H_ 6 #define CHROME_BROWSER_HISTORY_IN_MEMORY_DATABASE_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "chrome/browser/history/url_database.h" 9 #include "chrome/browser/common/url_database/url_database.h"
10 #include "sql/connection.h" 10 #include "sql/connection.h"
11 11
12 class FilePath; 12 class FilePath;
13 13
14 namespace history { 14 namespace history {
15 15
16 // Class used for a fast in-memory cache of typed URLs. Used for inline 16 // Class used for a fast in-memory cache of typed URLs. Used for inline
17 // autocomplete since it is fast enough to be called synchronously as the user 17 // autocomplete since it is fast enough to be called synchronously as the user
18 // is typing. 18 // is typing.
19 class InMemoryDatabase : public URLDatabase { 19 class InMemoryDatabase : public URLDatabase {
(...skipping 20 matching lines...) Expand all
40 bool InitDB(); 40 bool InitDB();
41 41
42 sql::Connection db_; 42 sql::Connection db_;
43 43
44 DISALLOW_COPY_AND_ASSIGN(InMemoryDatabase); 44 DISALLOW_COPY_AND_ASSIGN(InMemoryDatabase);
45 }; 45 };
46 46
47 } // namespace history 47 } // namespace history
48 48
49 #endif // CHROME_BROWSER_HISTORY_IN_MEMORY_DATABASE_H_ 49 #endif // CHROME_BROWSER_HISTORY_IN_MEMORY_DATABASE_H_
OLDNEW
« no previous file with comments | « chrome/browser/history/history_types.cc ('k') | chrome/browser/history/in_memory_history_backend.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698