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

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

Issue 11618049: Cleanup: Remove unneeded browser_thread.h includes in contents. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix build Created 7 years, 11 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 "content/browser/appcache/chrome_appcache_service.h" 5 #include "content/browser/appcache/chrome_appcache_service.h"
6 6
7 #include "base/file_path.h" 7 #include "base/file_path.h"
8 #include "base/file_util.h" 8 #include "base/file_util.h"
9 #include "content/public/browser/browser_thread.h"
9 #include "content/public/browser/content_browser_client.h" 10 #include "content/public/browser/content_browser_client.h"
10 #include "content/public/browser/resource_context.h" 11 #include "content/public/browser/resource_context.h"
11 #include "net/base/net_errors.h" 12 #include "net/base/net_errors.h"
12 #include "net/url_request/url_request_context_getter.h" 13 #include "net/url_request/url_request_context_getter.h"
13 #include "webkit/appcache/appcache_storage_impl.h" 14 #include "webkit/appcache/appcache_storage_impl.h"
14 #include "webkit/quota/quota_manager.h" 15 #include "webkit/quota/quota_manager.h"
15 16
16 namespace content { 17 namespace content {
17 18
18 ChromeAppCacheService::ChromeAppCacheService( 19 ChromeAppCacheService::ChromeAppCacheService(
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 void ChromeAppCacheService::DeleteOnCorrectThread() const { 70 void ChromeAppCacheService::DeleteOnCorrectThread() const {
70 if (BrowserThread::IsMessageLoopValid(BrowserThread::IO) && 71 if (BrowserThread::IsMessageLoopValid(BrowserThread::IO) &&
71 !BrowserThread::CurrentlyOn(BrowserThread::IO)) { 72 !BrowserThread::CurrentlyOn(BrowserThread::IO)) {
72 BrowserThread::DeleteSoon(BrowserThread::IO, FROM_HERE, this); 73 BrowserThread::DeleteSoon(BrowserThread::IO, FROM_HERE, this);
73 return; 74 return;
74 } 75 }
75 delete this; 76 delete this;
76 } 77 }
77 78
78 } // namespace content 79 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/appcache/chrome_appcache_service.h ('k') | content/browser/devtools/devtools_tracing_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698