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

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

Issue 7353026: Move app/sql/* files to sql/ directory. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased Created 9 years, 5 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) 2010 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 #pragma once 7 #pragma once
8 8
9 #include "app/sql/connection.h"
10 #include "base/basictypes.h" 9 #include "base/basictypes.h"
11 #include "chrome/browser/history/url_database.h" 10 #include "chrome/browser/history/url_database.h"
11 #include "sql/connection.h"
12 12
13 class FilePath; 13 class FilePath;
14 14
15 namespace history { 15 namespace history {
16 16
17 // Class used for a fast in-memory cache of typed URLs. Used for inline 17 // Class used for a fast in-memory cache of typed URLs. Used for inline
18 // autocomplete since it is fast enough to be called synchronously as the user 18 // autocomplete since it is fast enough to be called synchronously as the user
19 // is typing. 19 // is typing.
20 class InMemoryDatabase : public URLDatabase { 20 class InMemoryDatabase : public URLDatabase {
21 public: 21 public:
(...skipping 19 matching lines...) Expand all
41 bool InitDB(); 41 bool InitDB();
42 42
43 sql::Connection db_; 43 sql::Connection db_;
44 44
45 DISALLOW_COPY_AND_ASSIGN(InMemoryDatabase); 45 DISALLOW_COPY_AND_ASSIGN(InMemoryDatabase);
46 }; 46 };
47 47
48 } // namespace history 48 } // namespace history
49 49
50 #endif // CHROME_BROWSER_HISTORY_IN_MEMORY_DATABASE_H_ 50 #endif // CHROME_BROWSER_HISTORY_IN_MEMORY_DATABASE_H_
OLDNEW
« no previous file with comments | « chrome/browser/history/history_unittest_base.cc ('k') | chrome/browser/history/in_memory_url_index.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698