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

Unified Diff: content/child/web_data_consumer_handle_impl.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
Index: content/child/web_data_consumer_handle_impl.h
diff --git a/content/child/web_data_consumer_handle_impl.h b/content/child/web_data_consumer_handle_impl.h
index 44409ce580b3868627f2c9fb4dbda785244f59bc..1c93bcd5e5280ecf8e927895798ea4613e11c299 100644
--- a/content/child/web_data_consumer_handle_impl.h
+++ b/content/child/web_data_consumer_handle_impl.h
@@ -44,13 +44,12 @@ class CONTENT_EXPORT WebDataConsumerHandleImpl final
mojo::Watcher handle_watcher_;
Client* client_;
};
- std::unique_ptr<Reader> ObtainReader(Client* client);
+ std::unique_ptr<Reader> obtainReader(Client* client) override;
explicit WebDataConsumerHandleImpl(Handle handle);
~WebDataConsumerHandleImpl() override;
private:
- ReaderImpl* obtainReaderInternal(Client* client) override;
const char* debugName() const override;
scoped_refptr<Context> context_;
« no previous file with comments | « content/child/shared_memory_data_consumer_handle_unittest.cc ('k') | content/child/web_data_consumer_handle_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698