| OLD | NEW |
| 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 #ifndef CONTENT_BROWSER_FILEAPI_CHROME_BLOB_STORAGE_CONTEXT_H_ | 5 #ifndef CONTENT_BROWSER_FILEAPI_CHROME_BLOB_STORAGE_CONTEXT_H_ |
| 6 #define CONTENT_BROWSER_FILEAPI_CHROME_BLOB_STORAGE_CONTEXT_H_ | 6 #define CONTENT_BROWSER_FILEAPI_CHROME_BLOB_STORAGE_CONTEXT_H_ |
| 7 | 7 |
| 8 #include <stddef.h> | 8 #include <stddef.h> |
| 9 #include <stdint.h> | 9 #include <stdint.h> |
| 10 | 10 |
| (...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 84 } | 84 } |
| 85 }; | 85 }; |
| 86 | 86 |
| 87 // Returns the BlobStorageContext associated with the | 87 // Returns the BlobStorageContext associated with the |
| 88 // ChromeBlobStorageContext instance passed in. | 88 // ChromeBlobStorageContext instance passed in. |
| 89 storage::BlobStorageContext* GetBlobStorageContext( | 89 storage::BlobStorageContext* GetBlobStorageContext( |
| 90 ChromeBlobStorageContext* blob_storage_context); | 90 ChromeBlobStorageContext* blob_storage_context); |
| 91 | 91 |
| 92 // Attaches blob data handles to the ResourceRequestBodyImpl body passed in. | 92 // Attaches blob data handles to the ResourceRequestBodyImpl body passed in. |
| 93 // This is used for POST and PUT requests. | 93 // This is used for POST and PUT requests. |
| 94 void AttachRequestBodyBlobDataHandles(ResourceRequestBodyImpl* body, | 94 bool AttachRequestBodyBlobDataHandles(ResourceRequestBodyImpl* body, |
| 95 ResourceContext* resource_context); | 95 ResourceContext* resource_context); |
| 96 | 96 |
| 97 } // namespace content | 97 } // namespace content |
| 98 | 98 |
| 99 #endif // CONTENT_BROWSER_FILEAPI_CHROME_BLOB_STORAGE_CONTEXT_H_ | 99 #endif // CONTENT_BROWSER_FILEAPI_CHROME_BLOB_STORAGE_CONTEXT_H_ |
| OLD | NEW |