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

Side by Side Diff: content/browser/fileapi/chrome_blob_storage_context.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/fileapi/chrome_blob_storage_context.h" 5 #include "content/browser/fileapi/chrome_blob_storage_context.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "content/public/browser/browser_context.h" 8 #include "content/public/browser/browser_context.h"
9 #include "content/public/browser/browser_thread.h"
9 #include "webkit/blob/blob_storage_controller.h" 10 #include "webkit/blob/blob_storage_controller.h"
10 11
11 using base::UserDataAdapter; 12 using base::UserDataAdapter;
12 using webkit_blob::BlobStorageController; 13 using webkit_blob::BlobStorageController;
13 14
14 namespace content { 15 namespace content {
15 16
16 static const char* kBlobStorageContextKeyName = "content_blob_storage_context"; 17 static const char* kBlobStorageContextKeyName = "content_blob_storage_context";
17 18
18 ChromeBlobStorageContext::ChromeBlobStorageContext() {} 19 ChromeBlobStorageContext::ChromeBlobStorageContext() {}
(...skipping 27 matching lines...) Expand all
46 void ChromeBlobStorageContext::DeleteOnCorrectThread() const { 47 void ChromeBlobStorageContext::DeleteOnCorrectThread() const {
47 if (BrowserThread::IsMessageLoopValid(BrowserThread::IO) && 48 if (BrowserThread::IsMessageLoopValid(BrowserThread::IO) &&
48 !BrowserThread::CurrentlyOn(BrowserThread::IO)) { 49 !BrowserThread::CurrentlyOn(BrowserThread::IO)) {
49 BrowserThread::DeleteSoon(BrowserThread::IO, FROM_HERE, this); 50 BrowserThread::DeleteSoon(BrowserThread::IO, FROM_HERE, this);
50 return; 51 return;
51 } 52 }
52 delete this; 53 delete this;
53 } 54 }
54 55
55 } // namespace content 56 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/fileapi/chrome_blob_storage_context.h ('k') | content/browser/gamepad/gamepad_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698