OLD | NEW |
1 // Copyright (c) 2011 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_BROWSING_DATA_DATABASE_HELPER_H_ | 5 #ifndef CHROME_BROWSER_BROWSING_DATA_DATABASE_HELPER_H_ |
6 #define CHROME_BROWSER_BROWSING_DATA_DATABASE_HELPER_H_ | 6 #define CHROME_BROWSER_BROWSING_DATA_DATABASE_HELPER_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <list> | 9 #include <list> |
10 #include <string> | 10 #include <string> |
11 | 11 |
(...skipping 22 matching lines...) Expand all Loading... |
34 DatabaseInfo(); | 34 DatabaseInfo(); |
35 DatabaseInfo(const std::string& host, | 35 DatabaseInfo(const std::string& host, |
36 const std::string& database_name, | 36 const std::string& database_name, |
37 const std::string& origin_identifier, | 37 const std::string& origin_identifier, |
38 const std::string& description, | 38 const std::string& description, |
39 const std::string& origin, | 39 const std::string& origin, |
40 int64 size, | 40 int64 size, |
41 base::Time last_modified); | 41 base::Time last_modified); |
42 ~DatabaseInfo(); | 42 ~DatabaseInfo(); |
43 | 43 |
44 bool IsFileSchemeData(); | |
45 | |
46 std::string host; | 44 std::string host; |
47 std::string database_name; | 45 std::string database_name; |
48 std::string origin_identifier; | 46 std::string origin_identifier; |
49 std::string description; | 47 std::string description; |
50 std::string origin; | 48 std::string origin; |
51 int64 size; | 49 int64 size; |
52 base::Time last_modified; | 50 base::Time last_modified; |
53 }; | 51 }; |
54 | 52 |
55 explicit BrowsingDataDatabaseHelper(Profile* profile); | 53 explicit BrowsingDataDatabaseHelper(Profile* profile); |
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
155 | 153 |
156 // This may mutate on WEBKIT and UI threads. | 154 // This may mutate on WEBKIT and UI threads. |
157 std::list<PendingDatabaseInfo> pending_database_info_; | 155 std::list<PendingDatabaseInfo> pending_database_info_; |
158 | 156 |
159 Profile* profile_; | 157 Profile* profile_; |
160 | 158 |
161 DISALLOW_COPY_AND_ASSIGN(CannedBrowsingDataDatabaseHelper); | 159 DISALLOW_COPY_AND_ASSIGN(CannedBrowsingDataDatabaseHelper); |
162 }; | 160 }; |
163 | 161 |
164 #endif // CHROME_BROWSER_BROWSING_DATA_DATABASE_HELPER_H_ | 162 #endif // CHROME_BROWSER_BROWSING_DATA_DATABASE_HELPER_H_ |
OLD | NEW |