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

Side by Side Diff: chrome/utility/safe_browsing/mac/udif.h

Issue 2530053003: chrome: Cleanup class/struct forward declarations (Closed)
Patch Set: Rebase + address comment Created 4 years 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
« no previous file with comments | « chrome/utility/printing_handler.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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_UTILITY_SAFE_BROWSING_MAC_UDIF_H_ 5 #ifndef CHROME_UTILITY_SAFE_BROWSING_MAC_UDIF_H_
6 #define CHROME_UTILITY_SAFE_BROWSING_MAC_UDIF_H_ 6 #define CHROME_UTILITY_SAFE_BROWSING_MAC_UDIF_H_
7 7
8 #include <CoreFoundation/CoreFoundation.h> 8 #include <CoreFoundation/CoreFoundation.h>
9 #include <stddef.h> 9 #include <stddef.h>
10 #include <stdint.h> 10 #include <stdint.h>
11 #include <sys/types.h> 11 #include <sys/types.h>
12 12
13 #include <memory> 13 #include <memory>
14 #include <string> 14 #include <string>
15 #include <vector> 15 #include <vector>
16 16
17 #include "base/mac/scoped_cftyperef.h" 17 #include "base/mac/scoped_cftyperef.h"
18 #include "base/macros.h" 18 #include "base/macros.h"
19 #include "base/memory/scoped_vector.h" 19 #include "base/memory/scoped_vector.h"
20 20
21 namespace safe_browsing { 21 namespace safe_browsing {
22 namespace dmg { 22 namespace dmg {
23 23
24 class ReadStream; 24 class ReadStream;
25 class UDIFBlock; 25 class UDIFBlock;
26 struct UDIFBlockChunk;
27 26
28 // UDIFParser parses a Universal Disk Image Format file, allowing access to the 27 // UDIFParser parses a Universal Disk Image Format file, allowing access to the
29 // name, types, and data of the partitions held within the file. There is no 28 // name, types, and data of the partitions held within the file. There is no
30 // canonical documentation for UDIF, and not all disk images use UDIF (though 29 // canonical documentation for UDIF, and not all disk images use UDIF (though
31 // the majority do). Note that this implementation only handles UDIF and SPARSE 30 // the majority do). Note that this implementation only handles UDIF and SPARSE
32 // image types, not SPARSEBUNDLE. 31 // image types, not SPARSEBUNDLE.
33 // 32 //
34 // No guarantees are made about the position of ReadStream when using an 33 // No guarantees are made about the position of ReadStream when using an
35 // instance of this class. 34 // instance of this class.
36 // 35 //
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 ScopedVector<const UDIFBlock> blocks_; // All blocks in the UDIF image. 80 ScopedVector<const UDIFBlock> blocks_; // All blocks in the UDIF image.
82 uint16_t block_size_; // The image's block size, in bytes. 81 uint16_t block_size_; // The image's block size, in bytes.
83 82
84 DISALLOW_COPY_AND_ASSIGN(UDIFParser); 83 DISALLOW_COPY_AND_ASSIGN(UDIFParser);
85 }; 84 };
86 85
87 } // namespace dmg 86 } // namespace dmg
88 } // namespace safe_browsing 87 } // namespace safe_browsing
89 88
90 #endif // CHROME_UTILITY_SAFE_BROWSING_MAC_UDIF_H_ 89 #endif // CHROME_UTILITY_SAFE_BROWSING_MAC_UDIF_H_
OLDNEW
« no previous file with comments | « chrome/utility/printing_handler.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698