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

Side by Side Diff: content/child/webblobregistry_impl.h

Issue 1414123002: [BlobAsync] Renderer support for blob file writing. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@blob-hookup
Patch Set: comments Created 4 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
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 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 #ifndef CONTENT_CHILD_BLOB_STORAGE_WEBBLOBREGISTRY_IMPL_H_ 5 #ifndef CONTENT_CHILD_BLOB_STORAGE_WEBBLOBREGISTRY_IMPL_H_
6 #define CONTENT_CHILD_BLOB_STORAGE_WEBBLOBREGISTRY_IMPL_H_ 6 #define CONTENT_CHILD_BLOB_STORAGE_WEBBLOBREGISTRY_IMPL_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 void appendFileSystemURL(const blink::WebURL&, 85 void appendFileSystemURL(const blink::WebURL&,
86 uint64_t offset, 86 uint64_t offset,
87 uint64_t length, 87 uint64_t length,
88 double expected_modification_time) override; 88 double expected_modification_time) override;
89 89
90 void build() override; 90 void build() override;
91 91
92 private: 92 private:
93 const std::string uuid_; 93 const std::string uuid_;
94 const std::string content_type_; 94 const std::string content_type_;
95 std::unique_ptr<BlobConsolidation> consolidation_; 95 scoped_refptr<BlobConsolidation> consolidation_;
96 scoped_refptr<ThreadSafeSender> sender_; 96 scoped_refptr<ThreadSafeSender> sender_;
97 scoped_refptr<base::SingleThreadTaskRunner> io_runner_; 97 scoped_refptr<base::SingleThreadTaskRunner> io_runner_;
98 scoped_refptr<base::SingleThreadTaskRunner> main_runner_; 98 scoped_refptr<base::SingleThreadTaskRunner> main_runner_;
99 }; 99 };
100 100
101 scoped_refptr<base::SingleThreadTaskRunner> io_runner_; 101 scoped_refptr<base::SingleThreadTaskRunner> io_runner_;
102 scoped_refptr<base::SingleThreadTaskRunner> main_runner_; 102 scoped_refptr<base::SingleThreadTaskRunner> main_runner_;
103 scoped_refptr<ThreadSafeSender> sender_; 103 scoped_refptr<ThreadSafeSender> sender_;
104 }; 104 };
105 105
106 } // namespace content 106 } // namespace content
107 107
108 #endif // CONTENT_CHILD_BLOB_STORAGE_WEBBLOBREGISTRY_IMPL_H_ 108 #endif // CONTENT_CHILD_BLOB_STORAGE_WEBBLOBREGISTRY_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698