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

Unified Diff: content/child/shared_memory_data_consumer_handle.h

Issue 2172183003: Return unique_ptr<WebDataConsumerHandle::Reader> directly from obtainReader (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@gmock_cxx11
Patch Set: rebase Created 4 years, 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | content/child/shared_memory_data_consumer_handle.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/child/shared_memory_data_consumer_handle.h
diff --git a/content/child/shared_memory_data_consumer_handle.h b/content/child/shared_memory_data_consumer_handle.h
index 4da9fd1a00a378afa80aa0b00ced809b8fe95d45..0a98b760aa7d492b4bce56346173ec25dbed55a4 100644
--- a/content/child/shared_memory_data_consumer_handle.h
+++ b/content/child/shared_memory_data_consumer_handle.h
@@ -81,10 +81,9 @@ class CONTENT_EXPORT SharedMemoryDataConsumerHandle final
std::unique_ptr<Writer>* writer);
~SharedMemoryDataConsumerHandle() override;
- std::unique_ptr<Reader> ObtainReader(Client* client);
+ std::unique_ptr<Reader> obtainReader(Client* client) override;
private:
- ReaderImpl* obtainReaderInternal(Client* client) override;
const char* debugName() const override;
scoped_refptr<Context> context_;
« no previous file with comments | « no previous file | content/child/shared_memory_data_consumer_handle.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698