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

Side by Side Diff: content/browser/appcache/chrome_appcache_service.cc

Issue 559063002: Remove webkit/browser/, point everything to storage/browser/ instead (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: clean up DEPS per feedback Created 6 years, 3 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
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 "content/browser/appcache/chrome_appcache_service.h" 5 #include "content/browser/appcache/chrome_appcache_service.h"
6 6
7 #include "base/files/file_path.h" 7 #include "base/files/file_path.h"
8 #include "content/browser/appcache/appcache_storage_impl.h" 8 #include "content/browser/appcache/appcache_storage_impl.h"
9 #include "content/public/browser/browser_thread.h" 9 #include "content/public/browser/browser_thread.h"
10 #include "content/public/browser/content_browser_client.h" 10 #include "content/public/browser/content_browser_client.h"
11 #include "content/public/browser/resource_context.h" 11 #include "content/public/browser/resource_context.h"
12 #include "net/base/net_errors.h" 12 #include "net/base/net_errors.h"
13 #include "net/url_request/url_request_context_getter.h" 13 #include "net/url_request/url_request_context_getter.h"
14 #include "webkit/browser/quota/quota_manager.h" 14 #include "storage/browser/quota/quota_manager.h"
15 15
16 namespace content { 16 namespace content {
17 17
18 ChromeAppCacheService::ChromeAppCacheService( 18 ChromeAppCacheService::ChromeAppCacheService(
19 storage::QuotaManagerProxy* quota_manager_proxy) 19 storage::QuotaManagerProxy* quota_manager_proxy)
20 : AppCacheServiceImpl(quota_manager_proxy), resource_context_(NULL) { 20 : AppCacheServiceImpl(quota_manager_proxy), resource_context_(NULL) {
21 } 21 }
22 22
23 void ChromeAppCacheService::InitializeOnIOThread( 23 void ChromeAppCacheService::InitializeOnIOThread(
24 const base::FilePath& cache_path, 24 const base::FilePath& cache_path,
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 return; 72 return;
73 } 73 }
74 if (BrowserThread::IsMessageLoopValid(BrowserThread::IO)) { 74 if (BrowserThread::IsMessageLoopValid(BrowserThread::IO)) {
75 BrowserThread::DeleteSoon(BrowserThread::IO, FROM_HERE, this); 75 BrowserThread::DeleteSoon(BrowserThread::IO, FROM_HERE, this);
76 return; 76 return;
77 } 77 }
78 // Better to leak than crash on shutdown. 78 // Better to leak than crash on shutdown.
79 } 79 }
80 80
81 } // namespace content 81 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/appcache/chrome_appcache_service.h ('k') | content/browser/appcache/mock_appcache_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698