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

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

Issue 1853333003: [BlobAsync] Faster shortcuttin, make renderer controller leaky & alive. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: comment Created 4 years, 8 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 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 std::unique_ptr<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 // Method called on the IO thread.
102 static void StartBlobAsyncConstruction(
103 const std::string& uuid,
104 std::unique_ptr<BlobConsolidation> consolidation,
105 scoped_refptr<ThreadSafeSender> sender,
106 scoped_refptr<base::SingleThreadTaskRunner> main_runner);
107
108 scoped_refptr<base::SingleThreadTaskRunner> io_runner_; 101 scoped_refptr<base::SingleThreadTaskRunner> io_runner_;
109 scoped_refptr<base::SingleThreadTaskRunner> main_runner_; 102 scoped_refptr<base::SingleThreadTaskRunner> main_runner_;
110 scoped_refptr<ThreadSafeSender> sender_; 103 scoped_refptr<ThreadSafeSender> sender_;
111 }; 104 };
112 105
113 } // namespace content 106 } // namespace content
114 107
115 #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