| Index: chrome/browser/browsing_data_database_helper.cc
|
| diff --git a/chrome/browser/browsing_data_database_helper.cc b/chrome/browser/browsing_data_database_helper.cc
|
| index 86df59b727359910488561994cceb5a3860435cc..338e58ca39049a53b89465de7683cf3d0eb47f41 100644
|
| --- a/chrome/browser/browsing_data_database_helper.cc
|
| +++ b/chrome/browser/browsing_data_database_helper.cc
|
| @@ -15,6 +15,33 @@
|
| #include "third_party/WebKit/Source/WebKit/chromium/public/WebSecurityOrigin.h"
|
| #include "third_party/WebKit/Source/WebKit/chromium/public/WebString.h"
|
|
|
| +BrowsingDataDatabaseHelper::DatabaseInfo::DatabaseInfo() {}
|
| +
|
| +BrowsingDataDatabaseHelper::DatabaseInfo::DatabaseInfo(
|
| + const std::string& host,
|
| + const std::string& database_name,
|
| + const std::string& origin_identifier,
|
| + const std::string& description,
|
| + const std::string& origin,
|
| + int64 size,
|
| + base::Time last_modified)
|
| + : host(host),
|
| + database_name(database_name),
|
| + origin_identifier(origin_identifier),
|
| + description(description),
|
| + origin(origin),
|
| + size(size),
|
| + last_modified(last_modified) {
|
| +}
|
| +
|
| +BrowsingDataDatabaseHelper::DatabaseInfo::~DatabaseInfo() {}
|
| +
|
| +bool BrowsingDataDatabaseHelper::DatabaseInfo::IsFileSchemeData() {
|
| + return StartsWithASCII(origin_identifier,
|
| + std::string(chrome::kFileScheme),
|
| + true);
|
| +}
|
| +
|
| BrowsingDataDatabaseHelper::BrowsingDataDatabaseHelper(Profile* profile)
|
| : tracker_(profile->GetDatabaseTracker()),
|
| completion_callback_(NULL),
|
|
|