Index: chrome/browser/browsing_data_database_helper.cc |
=================================================================== |
--- chrome/browser/browsing_data_database_helper.cc (revision 128756) |
+++ chrome/browser/browsing_data_database_helper.cc (working copy) |
@@ -1,4 +1,4 @@ |
-// Copyright (c) 2012 The Chromium Authors. All rights reserved. |
+// Copyright (c) 2011 The Chromium Authors. All rights reserved. |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
@@ -44,6 +44,12 @@ |
BrowsingDataDatabaseHelper::DatabaseInfo::~DatabaseInfo() {} |
+bool BrowsingDataDatabaseHelper::DatabaseInfo::IsFileSchemeData() { |
+ return StartsWithASCII(origin_identifier, |
+ std::string(chrome::kFileScheme), |
+ true); |
+} |
+ |
BrowsingDataDatabaseHelper::BrowsingDataDatabaseHelper(Profile* profile) |
: is_fetching_(false), |
tracker_(BrowserContext::GetDatabaseTracker(profile)) { |