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

Unified Diff: components/ntp_tiles/ntp_tile.h

Issue 2341963002: Make NTPTile copyable. (Closed)
Patch Set: Created 4 years, 3 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 | components/ntp_tiles/ntp_tile.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/ntp_tiles/ntp_tile.h
diff --git a/components/ntp_tiles/ntp_tile.h b/components/ntp_tiles/ntp_tile.h
index e82cd4db3e509c1182f95d2c8fcd687d0ddfc474..88b34bd0162c68b1113ed3f8863dd8b4ad8d0fc8 100644
--- a/components/ntp_tiles/ntp_tile.h
+++ b/components/ntp_tiles/ntp_tile.h
@@ -43,6 +43,8 @@ struct NTPTile {
NTPTile(NTPTile&&);
NTPTile& operator=(NTPTile&&);
+ NTPTile Copy() const;
Marc Treib 2016/09/15 09:10:27 Hm, at this point, we might as well just remove th
sfiera 2016/09/21 08:56:28 Sure, done. (I think I was channeling google3's ex
Marc Treib 2016/09/21 08:58:06 We mostly have that in Chromium as well, but in th
sfiera 2016/09/21 09:12:58 I had to add the default copy constructor explicit
+
private:
DISALLOW_COPY_AND_ASSIGN(NTPTile);
};
« no previous file with comments | « no previous file | components/ntp_tiles/ntp_tile.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698