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

Side by Side Diff: webkit/database/databases_table.h

Issue 3806005: FBTF: More ctor/dtor cleanup. (Closed) Base URL: http://git.chromium.org/git/chromium.git
Patch Set: Created 10 years, 2 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 | « net/server/http_server_request_info.cc ('k') | webkit/database/databases_table.cc » ('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) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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 WEBKIT_DATABASE_DATABASES_TABLE_H_ 5 #ifndef WEBKIT_DATABASE_DATABASES_TABLE_H_
6 #define WEBKIT_DATABASE_DATABASES_TABLE_H_ 6 #define WEBKIT_DATABASE_DATABASES_TABLE_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/string16.h" 10 #include "base/string16.h"
11 11
12 namespace sql { 12 namespace sql {
13 class Connection; 13 class Connection;
14 } 14 }
15 15
16 namespace webkit_database { 16 namespace webkit_database {
17 17
18 struct DatabaseDetails { 18 struct DatabaseDetails {
19 DatabaseDetails() : estimated_size(0) { } 19 DatabaseDetails();
20 ~DatabaseDetails();
20 21
21 string16 origin_identifier; 22 string16 origin_identifier;
22 string16 database_name; 23 string16 database_name;
23 string16 description; 24 string16 description;
24 int64 estimated_size; 25 int64 estimated_size;
25 }; 26 };
26 27
27 class DatabasesTable { 28 class DatabasesTable {
28 public: 29 public:
29 explicit DatabasesTable(sql::Connection* db) : db_(db) { } 30 explicit DatabasesTable(sql::Connection* db) : db_(db) { }
(...skipping 12 matching lines...) Expand all
42 bool GetAllDatabaseDetailsForOrigin(const string16& origin_identifier, 43 bool GetAllDatabaseDetailsForOrigin(const string16& origin_identifier,
43 std::vector<DatabaseDetails>* details); 44 std::vector<DatabaseDetails>* details);
44 bool DeleteOrigin(const string16& origin_identifier); 45 bool DeleteOrigin(const string16& origin_identifier);
45 private: 46 private:
46 sql::Connection* db_; 47 sql::Connection* db_;
47 }; 48 };
48 49
49 } // namespace webkit_database 50 } // namespace webkit_database
50 51
51 #endif // WEBKIT_DATABASE_DATABASES_TABLE_H_ 52 #endif // WEBKIT_DATABASE_DATABASES_TABLE_H_
OLDNEW
« no previous file with comments | « net/server/http_server_request_info.cc ('k') | webkit/database/databases_table.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698