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

Side by Side Diff: chrome/common/importer/imported_bookmark_entry.h

Issue 1731483003: chrome: Add out-of-line copy ctors for complex classes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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 unified diff | Download patch
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 CHROME_COMMON_IMPORTER_IMPORTED_BOOKMARK_ENTRY_H_ 5 #ifndef CHROME_COMMON_IMPORTER_IMPORTED_BOOKMARK_ENTRY_H_
6 #define CHROME_COMMON_IMPORTER_IMPORTED_BOOKMARK_ENTRY_H_ 6 #define CHROME_COMMON_IMPORTER_IMPORTED_BOOKMARK_ENTRY_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/strings/string16.h" 10 #include "base/strings/string16.h"
11 #include "base/time/time.h" 11 #include "base/time/time.h"
12 #include "url/gurl.h" 12 #include "url/gurl.h"
13 13
14 struct ImportedBookmarkEntry { 14 struct ImportedBookmarkEntry {
15 ImportedBookmarkEntry(); 15 ImportedBookmarkEntry();
16 ImportedBookmarkEntry(const ImportedBookmarkEntry& other);
16 ~ImportedBookmarkEntry(); 17 ~ImportedBookmarkEntry();
17 18
18 bool operator==(const ImportedBookmarkEntry& other) const; 19 bool operator==(const ImportedBookmarkEntry& other) const;
19 20
20 bool in_toolbar; 21 bool in_toolbar;
21 bool is_folder; 22 bool is_folder;
22 GURL url; 23 GURL url;
23 std::vector<base::string16> path; 24 std::vector<base::string16> path;
24 base::string16 title; 25 base::string16 title;
25 base::Time creation_time; 26 base::Time creation_time;
26 }; 27 };
27 28
28 #endif // CHROME_COMMON_IMPORTER_IMPORTED_BOOKMARK_ENTRY_H_ 29 #endif // CHROME_COMMON_IMPORTER_IMPORTED_BOOKMARK_ENTRY_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698