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

Side by Side Diff: chrome/browser/browsing_data/browsing_data_remover.cc

Issue 492873002: Collapse fileapi, webkit_blob, webkit_database, quota, and webkit_common namespaces into single sto… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix chromeos build Created 6 years, 4 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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
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 #include "chrome/browser/browsing_data/browsing_data_remover.h" 5 #include "chrome/browser/browsing_data/browsing_data_remover.h"
6 6
7 #include <map> 7 #include <map>
8 #include <set> 8 #include <set>
9 #include <string> 9 #include <string>
10 10
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
99 using content::BrowserThread; 99 using content::BrowserThread;
100 using content::DOMStorageContext; 100 using content::DOMStorageContext;
101 101
102 bool BrowsingDataRemover::is_removing_ = false; 102 bool BrowsingDataRemover::is_removing_ = false;
103 103
104 BrowsingDataRemover::CompletionInhibitor* 104 BrowsingDataRemover::CompletionInhibitor*
105 BrowsingDataRemover::completion_inhibitor_ = NULL; 105 BrowsingDataRemover::completion_inhibitor_ = NULL;
106 106
107 // Helper to create callback for BrowsingDataRemover::DoesOriginMatchMask. 107 // Helper to create callback for BrowsingDataRemover::DoesOriginMatchMask.
108 // Static. 108 // Static.
109 bool DoesOriginMatchMask(int origin_set_mask, 109 bool DoesOriginMatchMask(
110 const GURL& origin, 110 int origin_set_mask,
111 quota::SpecialStoragePolicy* special_storage_policy) { 111 const GURL& origin,
112 storage::SpecialStoragePolicy* special_storage_policy) {
112 return BrowsingDataHelper::DoesOriginMatchMask( 113 return BrowsingDataHelper::DoesOriginMatchMask(
113 origin, origin_set_mask, special_storage_policy); 114 origin, origin_set_mask, special_storage_policy);
114 } 115 }
115 116
116 BrowsingDataRemover::NotificationDetails::NotificationDetails() 117 BrowsingDataRemover::NotificationDetails::NotificationDetails()
117 : removal_begin(base::Time()), 118 : removal_begin(base::Time()),
118 removal_mask(-1), 119 removal_mask(-1),
119 origin_set_mask(-1) { 120 origin_set_mask(-1) {
120 } 121 }
121 122
(...skipping 1060 matching lines...) Expand 10 before | Expand all | Expand 10 after
1182 waiting_for_clear_webrtc_logs_ = false; 1183 waiting_for_clear_webrtc_logs_ = false;
1183 NotifyAndDeleteIfDone(); 1184 NotifyAndDeleteIfDone();
1184 } 1185 }
1185 #endif 1186 #endif
1186 1187
1187 void BrowsingDataRemover::OnClearedDomainReliabilityMonitor() { 1188 void BrowsingDataRemover::OnClearedDomainReliabilityMonitor() {
1188 DCHECK_CURRENTLY_ON(BrowserThread::UI); 1189 DCHECK_CURRENTLY_ON(BrowserThread::UI);
1189 waiting_for_clear_domain_reliability_monitor_ = false; 1190 waiting_for_clear_domain_reliability_monitor_ = false;
1190 NotifyAndDeleteIfDone(); 1191 NotifyAndDeleteIfDone();
1191 } 1192 }
OLDNEW
« no previous file with comments | « chrome/browser/browsing_data/browsing_data_remover.h ('k') | chrome/browser/browsing_data/browsing_data_remover_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698