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

Side by Side Diff: chrome/browser/webdata/web_database.h

Issue 8722: Wrap forward declarations in their relevant namespace (Closed)
Patch Set: Add indentation and a missing header to silence another gcc4.3 error Created 12 years, 1 month 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) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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_WEB_DATABASE_H__ 5 #ifndef CHROME_BROWSER_WEBDATA_WEB_DATABASE_H__
6 #define CHROME_BROWSER_WEBDATA_WEB_DATABASE_H__ 6 #define CHROME_BROWSER_WEBDATA_WEB_DATABASE_H__
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
11 #include "base/basictypes.h" 11 #include "base/basictypes.h"
12 #include "chrome/browser/meta_table_helper.h" 12 #include "chrome/browser/meta_table_helper.h"
13 #include "chrome/browser/template_url.h" 13 #include "chrome/browser/template_url.h"
14 #include "chrome/common/sqlite_utils.h" 14 #include "chrome/common/sqlite_utils.h"
15 #include "skia/include/SkBitmap.h" 15 #include "skia/include/SkBitmap.h"
16 16
17 class base::Time; 17 namespace base {
18 class Time;
wtc 2008/11/05 21:40:32 Same as above.
19 }
18 struct PasswordForm; 20 struct PasswordForm;
19 struct IE7PasswordInfo; 21 struct IE7PasswordInfo;
20 22
21 //////////////////////////////////////////////////////////////////////////////// 23 ////////////////////////////////////////////////////////////////////////////////
22 // 24 //
23 // A Sqlite database instance to store all the meta data we have about web pages 25 // A Sqlite database instance to store all the meta data we have about web pages
24 // 26 //
25 //////////////////////////////////////////////////////////////////////////////// 27 ////////////////////////////////////////////////////////////////////////////////
26 class WebDatabase { 28 class WebDatabase {
27 public: 29 public:
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
134 void MigrateOldVersionsAsNeeded(); 136 void MigrateOldVersionsAsNeeded();
135 137
136 sqlite3* db_; 138 sqlite3* db_;
137 int transaction_nesting_; 139 int transaction_nesting_;
138 MetaTableHelper meta_table_; 140 MetaTableHelper meta_table_;
139 141
140 DISALLOW_EVIL_CONSTRUCTORS(WebDatabase); 142 DISALLOW_EVIL_CONSTRUCTORS(WebDatabase);
141 }; 143 };
142 144
143 #endif // CHROME_BROWSER_WEBDATA_WEB_DATABASE_H__ 145 #endif // CHROME_BROWSER_WEBDATA_WEB_DATABASE_H__
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698