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

Unified Diff: content/child/web_data_consumer_handle_impl.h

Issue 2426483002: Add DISALLOW_COPY_AND_ASSIGN in web_data_consumer_handle_impl.h. (Closed)
Patch Set: Add DISALLOW_COPY_AND_ASSIGN in web_data_consumer_handle_impl.h Created 4 years, 2 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 1c93bcd5e5280ecf8e927895798ea4613e11c299..5a2058a89dc49f7dd9a338ea2fc47cb3fe1921e4 100644
--- a/content/child/web_data_consumer_handle_impl.h
+++ b/content/child/web_data_consumer_handle_impl.h
@@ -18,10 +18,10 @@ namespace content {
class CONTENT_EXPORT WebDataConsumerHandleImpl final
: public NON_EXPORTED_BASE(blink::WebDataConsumerHandle) {
+ public:
yhirano 2016/10/17 08:44:05 Do you need to move this public: statement?
horo 2016/10/17 08:59:46 No. Moved. Done.
typedef mojo::ScopedDataPipeConsumerHandle Handle;
class Context;
- public:
class CONTENT_EXPORT ReaderImpl final : public NON_EXPORTED_BASE(Reader) {
public:
ReaderImpl(scoped_refptr<Context> context, Client* client);
@@ -43,6 +43,7 @@ class CONTENT_EXPORT WebDataConsumerHandleImpl final
scoped_refptr<Context> context_;
mojo::Watcher handle_watcher_;
Client* client_;
+ DISALLOW_COPY_AND_ASSIGN(ReaderImpl);
};
std::unique_ptr<Reader> obtainReader(Client* client) override;
@@ -53,6 +54,7 @@ class CONTENT_EXPORT WebDataConsumerHandleImpl final
const char* debugName() const override;
scoped_refptr<Context> context_;
+ DISALLOW_COPY_AND_ASSIGN(WebDataConsumerHandleImpl);
};
} // namespace content
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698