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

Side by Side Diff: content/browser/fileapi/chrome_blob_storage_context.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/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 "base/guid.h" 8 #include "base/guid.h"
9 #include "content/public/browser/blob_handle.h" 9 #include "content/public/browser/blob_handle.h"
10 #include "content/public/browser/browser_context.h" 10 #include "content/public/browser/browser_context.h"
11 #include "content/public/browser/browser_thread.h" 11 #include "content/public/browser/browser_thread.h"
12 #include "webkit/browser/blob/blob_data_handle.h" 12 #include "storage/browser/blob/blob_data_handle.h"
13 #include "webkit/browser/blob/blob_storage_context.h" 13 #include "storage/browser/blob/blob_storage_context.h"
14 14
15 using base::UserDataAdapter; 15 using base::UserDataAdapter;
16 using storage::BlobStorageContext; 16 using storage::BlobStorageContext;
17 17
18 namespace content { 18 namespace content {
19 19
20 namespace { 20 namespace {
21 21
22 const char kBlobStorageContextKeyName[] = "content_blob_storage_context"; 22 const char kBlobStorageContextKeyName[] = "content_blob_storage_context";
23 23
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
89 void ChromeBlobStorageContext::DeleteOnCorrectThread() const { 89 void ChromeBlobStorageContext::DeleteOnCorrectThread() const {
90 if (BrowserThread::IsMessageLoopValid(BrowserThread::IO) && 90 if (BrowserThread::IsMessageLoopValid(BrowserThread::IO) &&
91 !BrowserThread::CurrentlyOn(BrowserThread::IO)) { 91 !BrowserThread::CurrentlyOn(BrowserThread::IO)) {
92 BrowserThread::DeleteSoon(BrowserThread::IO, FROM_HERE, this); 92 BrowserThread::DeleteSoon(BrowserThread::IO, FROM_HERE, this);
93 return; 93 return;
94 } 94 }
95 delete this; 95 delete this;
96 } 96 }
97 97
98 } // namespace content 98 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/fileapi/browser_file_system_helper.cc ('k') | content/browser/fileapi/copy_or_move_file_validator_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698