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

Side by Side Diff: chrome/browser/webdata/keyword_table.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) 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_WEBDATA_KEYWORD_TABLE_H_ 5 #ifndef CHROME_BROWSER_WEBDATA_KEYWORD_TABLE_H_
6 #define CHROME_BROWSER_WEBDATA_KEYWORD_TABLE_H_ 6 #define CHROME_BROWSER_WEBDATA_KEYWORD_TABLE_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
11 #include "base/compiler_specific.h" 11 #include "base/compiler_specific.h"
12 #include "base/gtest_prod_util.h" 12 #include "base/gtest_prod_util.h"
13 #include "base/string16.h" 13 #include "base/string16.h"
14 #include "chrome/browser/common/url_database/template_url_id.h"
14 #include "chrome/browser/webdata/web_database_table.h" 15 #include "chrome/browser/webdata/web_database_table.h"
15 #include "chrome/browser/search_engines/template_url_id.h"
16 16
17 struct TemplateURLData; 17 struct TemplateURLData;
18 18
19 namespace sql { 19 namespace sql {
20 class Statement; 20 class Statement;
21 } // namespace sql 21 } // namespace sql
22 22
23 // This class manages the |keywords| MetaTable within the SQLite database 23 // This class manages the |keywords| MetaTable within the SQLite database
24 // passed to the constructor. It expects the following schema: 24 // passed to the constructor. It expects the following schema:
25 // 25 //
(...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after
197 // "keywords_backup" from version 44 to version 45. 197 // "keywords_backup" from version 44 to version 45.
198 bool MigrateKeywordsTableForVersion45(const std::string& name); 198 bool MigrateKeywordsTableForVersion45(const std::string& name);
199 199
200 // Whether the backup was overwritten during migration. 200 // Whether the backup was overwritten during migration.
201 bool backup_overwritten_; 201 bool backup_overwritten_;
202 202
203 DISALLOW_COPY_AND_ASSIGN(KeywordTable); 203 DISALLOW_COPY_AND_ASSIGN(KeywordTable);
204 }; 204 };
205 205
206 #endif // CHROME_BROWSER_WEBDATA_KEYWORD_TABLE_H_ 206 #endif // CHROME_BROWSER_WEBDATA_KEYWORD_TABLE_H_
OLDNEW
« no previous file with comments | « chrome/browser/search_engines/template_url_service.h ('k') | chrome/browser/webdata/web_data_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698