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

Side by Side Diff: chrome/browser/browsing_data_database_helper.h

Issue 7811006: Add full support for filesystem URLs. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Addressed code review feedback. Created 8 years, 10 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
markusheintz_ 2012/02/16 10:02:57 nit: s/2011/2012
ericu 2012/02/22 00:00:51 Done.
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
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
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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698