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

Side by Side Diff: trunk/src/webkit/blob/blob_storage_host.cc

Issue 14985007: Revert 198844 "Move sequenced_task_runner to base/task" (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 7 years, 7 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) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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 "webkit/blob/blob_storage_host.h" 5 #include "webkit/blob/blob_storage_host.h"
6 6
7 #include "base/task/sequenced_task_runner.h" 7 #include "base/sequenced_task_runner.h"
8 #include "googleurl/src/gurl.h" 8 #include "googleurl/src/gurl.h"
9 #include "webkit/blob/blob_data_handle.h" 9 #include "webkit/blob/blob_data_handle.h"
10 #include "webkit/blob/blob_storage_context.h" 10 #include "webkit/blob/blob_storage_context.h"
11 11
12 namespace webkit_blob { 12 namespace webkit_blob {
13 13
14 BlobStorageHost::BlobStorageHost(BlobStorageContext* context) 14 BlobStorageHost::BlobStorageHost(BlobStorageContext* context)
15 : context_(context->AsWeakPtr()) { 15 : context_(context->AsWeakPtr()) {
16 } 16 }
17 17
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
102 102
103 bool BlobStorageHost::IsBeingBuiltInHost(const std::string& uuid) { 103 bool BlobStorageHost::IsBeingBuiltInHost(const std::string& uuid) {
104 return IsInUseInHost(uuid) && context_->IsBeingBuilt(uuid); 104 return IsInUseInHost(uuid) && context_->IsBeingBuilt(uuid);
105 } 105 }
106 106
107 bool BlobStorageHost::IsUrlRegisteredInHost(const GURL& blob_url) { 107 bool BlobStorageHost::IsUrlRegisteredInHost(const GURL& blob_url) {
108 return public_blob_urls_.find(blob_url) != public_blob_urls_.end(); 108 return public_blob_urls_.find(blob_url) != public_blob_urls_.end();
109 } 109 }
110 110
111 } // namespace webkit_blob 111 } // namespace webkit_blob
OLDNEW
« no previous file with comments | « trunk/src/webkit/blob/blob_data_handle.cc ('k') | trunk/src/webkit/dom_storage/dom_storage_task_runner.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698