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

Side by Side Diff: content/browser/blob_storage/chrome_blob_storage_context.h

Issue 2829923004: Fail when uploading blob is non-existant (Closed)
Patch Set: fixed Created 3 years, 6 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
« no previous file with comments | « no previous file | content/browser/blob_storage/chrome_blob_storage_context.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #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
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_
OLDNEW
« no previous file with comments | « no previous file | content/browser/blob_storage/chrome_blob_storage_context.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698