| OLD | NEW | 
|   1 // Copyright 2014 The Chromium Authors. All rights reserved. |   1 // Copyright 2014 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/public/test/mock_blob_url_request_context.h" |   5 #include "storage/browser/test/mock_blob_url_request_context.h" | 
|   6  |   6  | 
|   7 #include "base/memory/ptr_util.h" |   7 #include "base/memory/ptr_util.h" | 
|   8 #include "base/threading/thread_task_runner_handle.h" |   8 #include "base/threading/thread_task_runner_handle.h" | 
|   9 #include "storage/browser/blob/blob_data_builder.h" |   9 #include "storage/browser/blob/blob_data_builder.h" | 
|  10 #include "storage/browser/blob/blob_storage_context.h" |  10 #include "storage/browser/blob/blob_storage_context.h" | 
|  11 #include "storage/browser/blob/blob_url_request_job.h" |  11 #include "storage/browser/blob/blob_url_request_job.h" | 
|  12 #include "storage/browser/blob/blob_url_request_job_factory.h" |  12 #include "storage/browser/blob/blob_url_request_job_factory.h" | 
|  13  |  13  | 
|  14 namespace content { |  14 namespace content { | 
|  15  |  15  | 
| (...skipping 26 matching lines...) Expand all  Loading... | 
|  42 } |  42 } | 
|  43  |  43  | 
|  44 ScopedTextBlob::~ScopedTextBlob() { |  44 ScopedTextBlob::~ScopedTextBlob() { | 
|  45 } |  45 } | 
|  46  |  46  | 
|  47 std::unique_ptr<storage::BlobDataHandle> ScopedTextBlob::GetBlobDataHandle() { |  47 std::unique_ptr<storage::BlobDataHandle> ScopedTextBlob::GetBlobDataHandle() { | 
|  48   return context_->GetBlobDataFromUUID(blob_id_); |  48   return context_->GetBlobDataFromUUID(blob_id_); | 
|  49 } |  49 } | 
|  50  |  50  | 
|  51 }  // namespace content |  51 }  // namespace content | 
| OLD | NEW |