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

Side by Side Diff: chrome/browser/safe_browsing/safe_browsing_util.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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 // Utilities for the SafeBrowsing code. 5 // Utilities for the SafeBrowsing code.
6 6
7 #ifndef CHROME_BROWSER_SAFE_BROWSING_SAFE_BROWSING_UTIL_H_ 7 #ifndef CHROME_BROWSER_SAFE_BROWSING_SAFE_BROWSING_UTIL_H_
8 #define CHROME_BROWSER_SAFE_BROWSING_SAFE_BROWSING_UTIL_H_ 8 #define CHROME_BROWSER_SAFE_BROWSING_SAFE_BROWSING_UTIL_H_
9 9
10 #include <stddef.h> 10 #include <stddef.h>
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 explicit SBListChunkRanges(const std::string& n); 70 explicit SBListChunkRanges(const std::string& n);
71 71
72 std::string name; // The list name. 72 std::string name; // The list name.
73 std::string adds; // The ranges for add chunks. 73 std::string adds; // The ranges for add chunks.
74 std::string subs; // The ranges for sub chunks. 74 std::string subs; // The ranges for sub chunks.
75 }; 75 };
76 76
77 // Container for deleting chunks from the database. 77 // Container for deleting chunks from the database.
78 struct SBChunkDelete { 78 struct SBChunkDelete {
79 SBChunkDelete(); 79 SBChunkDelete();
80 SBChunkDelete(const SBChunkDelete& other);
80 ~SBChunkDelete(); 81 ~SBChunkDelete();
81 82
82 std::string list_name; 83 std::string list_name;
83 bool is_sub_del; 84 bool is_sub_del;
84 std::vector<ChunkRange> chunk_del; 85 std::vector<ChunkRange> chunk_del;
85 }; 86 };
86 87
87 } // namespace safe_browsing 88 } // namespace safe_browsing
88 89
89 #endif // CHROME_BROWSER_SAFE_BROWSING_SAFE_BROWSING_UTIL_H_ 90 #endif // CHROME_BROWSER_SAFE_BROWSING_SAFE_BROWSING_UTIL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698