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

Unified Diff: chrome/browser/browsing_data_indexed_db_helper.cc

Issue 6366019: Part 1 of repairing regressions to my old clang check plugins so Nico can (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove Nico's changes that I patched in for testing. Created 9 years, 11 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/browsing_data_indexed_db_helper.cc
diff --git a/chrome/browser/browsing_data_indexed_db_helper.cc b/chrome/browser/browsing_data_indexed_db_helper.cc
index a5594d2cfc2d18aa851904f7ea798707015c5aa3..9bd006335d0a58f2a3bb7cd0f8ad69252e43f31f 100644
--- a/chrome/browser/browsing_data_indexed_db_helper.cc
+++ b/chrome/browser/browsing_data_indexed_db_helper.cc
@@ -158,6 +158,31 @@ void BrowsingDataIndexedDBHelperImpl::DeleteIndexedDBFileInWebKitThread(
} // namespace
+BrowsingDataIndexedDBHelper::IndexedDBInfo::IndexedDBInfo(
+ const std::string& protocol,
+ const std::string& host,
+ unsigned short port,
+ const std::string& database_identifier,
+ const std::string& origin,
+ const FilePath& file_path,
+ int64 size,
+ base::Time last_modified)
+ : protocol(protocol),
+ host(host),
+ port(port),
+ database_identifier(database_identifier),
+ origin(origin),
+ file_path(file_path),
+ size(size),
+ last_modified(last_modified) {
+}
+
+BrowsingDataIndexedDBHelper::IndexedDBInfo::~IndexedDBInfo() {}
+
+bool BrowsingDataIndexedDBHelper::IndexedDBInfo::IsFileSchemeData() {
+ return protocol == chrome::kFileScheme;
+}
+
// static
BrowsingDataIndexedDBHelper* BrowsingDataIndexedDBHelper::Create(
Profile* profile) {

Powered by Google App Engine
This is Rietveld 408576698