Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 COMPONENTS_NTP_TILES_NTP_TILE_H_ | 5 #ifndef COMPONENTS_NTP_TILES_NTP_TILE_H_ |
| 6 #define COMPONENTS_NTP_TILES_NTP_TILE_H_ | 6 #define COMPONENTS_NTP_TILES_NTP_TILE_H_ |
| 7 | 7 |
| 8 #include <vector> | 8 #include <vector> |
| 9 | 9 |
| 10 #include "base/files/file_path.h" | 10 #include "base/files/file_path.h" |
| (...skipping 25 matching lines...) Expand all Loading... | |
| 36 | 36 |
| 37 // Only valid for source == WHITELIST (empty otherwise). | 37 // Only valid for source == WHITELIST (empty otherwise). |
| 38 base::FilePath whitelist_icon_path; | 38 base::FilePath whitelist_icon_path; |
| 39 | 39 |
| 40 NTPTile(); | 40 NTPTile(); |
| 41 ~NTPTile(); | 41 ~NTPTile(); |
| 42 | 42 |
| 43 NTPTile(NTPTile&&); | 43 NTPTile(NTPTile&&); |
| 44 NTPTile& operator=(NTPTile&&); | 44 NTPTile& operator=(NTPTile&&); |
| 45 | 45 |
| 46 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
| |
| 47 | |
| 46 private: | 48 private: |
| 47 DISALLOW_COPY_AND_ASSIGN(NTPTile); | 49 DISALLOW_COPY_AND_ASSIGN(NTPTile); |
| 48 }; | 50 }; |
| 49 | 51 |
| 50 using NTPTilesVector = std::vector<NTPTile>; | 52 using NTPTilesVector = std::vector<NTPTile>; |
| 51 | 53 |
| 52 } // namespace ntp_tiles | 54 } // namespace ntp_tiles |
| 53 | 55 |
| 54 #endif // COMPONENTS_NTP_TILES_NTP_TILE_H_ | 56 #endif // COMPONENTS_NTP_TILES_NTP_TILE_H_ |
| OLD | NEW |