| Index: content/browser/appcache/chrome_appcache_service.cc
|
| diff --git a/content/browser/appcache/chrome_appcache_service.cc b/content/browser/appcache/chrome_appcache_service.cc
|
| index 6fa5ebc613d5bbb366d3fbbd60578c2b8f9084c5..05ebdf4628f2f617f2282390e8950cf37ec42764 100644
|
| --- a/content/browser/appcache/chrome_appcache_service.cc
|
| +++ b/content/browser/appcache/chrome_appcache_service.cc
|
| @@ -39,18 +39,6 @@ void ChromeAppCacheService::InitializeOnIOThread(
|
| set_special_storage_policy(special_storage_policy);
|
| }
|
|
|
| -ChromeAppCacheService::~ChromeAppCacheService() {
|
| -}
|
| -
|
| -void ChromeAppCacheService::DeleteOnCorrectThread() const {
|
| - if (BrowserThread::IsMessageLoopValid(BrowserThread::IO) &&
|
| - !BrowserThread::CurrentlyOn(BrowserThread::IO)) {
|
| - BrowserThread::DeleteSoon(BrowserThread::IO, FROM_HERE, this);
|
| - return;
|
| - }
|
| - delete this;
|
| -}
|
| -
|
| bool ChromeAppCacheService::CanLoadAppCache(const GURL& manifest_url,
|
| const GURL& first_party) {
|
| DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO));
|
| @@ -65,3 +53,14 @@ bool ChromeAppCacheService::CanCreateAppCache(
|
| return content::GetContentClient()->browser()->AllowAppCache(
|
| manifest_url, first_party, resource_context_);
|
| }
|
| +
|
| +ChromeAppCacheService::~ChromeAppCacheService() {}
|
| +
|
| +void ChromeAppCacheService::DeleteOnCorrectThread() const {
|
| + if (BrowserThread::IsMessageLoopValid(BrowserThread::IO) &&
|
| + !BrowserThread::CurrentlyOn(BrowserThread::IO)) {
|
| + BrowserThread::DeleteSoon(BrowserThread::IO, FROM_HERE, this);
|
| + return;
|
| + }
|
| + delete this;
|
| +}
|
|
|