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

Unified Diff: chrome/browser/browsing_data_database_helper.cc

Issue 10454113: Renaming `BrowsingDataHelper::IsValidScheme`, as it's poorly descriptive. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Bernhard. Created 8 years, 7 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
« no previous file with comments | « chrome/browser/browsing_data_appcache_helper.cc ('k') | chrome/browser/browsing_data_file_system_helper.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 f28d56f866ff52efac4fa42372a515dc07247652..20218c3123277bfe7387769262da1c68208d8091 100644
--- a/chrome/browser/browsing_data_database_helper.cc
+++ b/chrome/browser/browsing_data_database_helper.cc
@@ -80,7 +80,7 @@ void BrowsingDataDatabaseHelper::FetchDatabaseInfoOnFileThread() {
for (std::vector<webkit_database::OriginInfo>::const_iterator ori =
origins_info.begin(); ori != origins_info.end(); ++ori) {
const GURL origin(UTF16ToUTF8(ori->GetOrigin()));
- if (!BrowsingDataHelper::HasValidScheme(origin)) {
+ if (!BrowsingDataHelper::HasWebScheme(origin)) {
// Non-websafe state is not considered browsing data.
continue;
}
@@ -171,7 +171,7 @@ void CannedBrowsingDataDatabaseHelper::AddDatabase(
const std::string& description) {
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));
base::AutoLock auto_lock(lock_);
- if (BrowsingDataHelper::HasValidScheme(origin)) {
+ if (BrowsingDataHelper::HasWebScheme(origin)) {
pending_database_info_.insert(PendingDatabaseInfo(
origin, name, description));
}
« no previous file with comments | « chrome/browser/browsing_data_appcache_helper.cc ('k') | chrome/browser/browsing_data_file_system_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698