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

Side by Side Diff: Source/core/loader/archive/MHTMLArchive.h

Issue 47613002: Use FINAL macro for classes whose virtual destructor was removed (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 1 month 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 | Annotate | Revision Log
« no previous file with comments | « Source/core/inspector/ScriptProfile.h ('k') | Source/core/page/PageConsole.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2011 Google Inc. All rights reserved. 2 * Copyright (C) 2011 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 27 matching lines...) Expand all
38 #include "wtf/Vector.h" 38 #include "wtf/Vector.h"
39 39
40 namespace WebCore { 40 namespace WebCore {
41 41
42 class KURL; 42 class KURL;
43 class MHTMLParser; 43 class MHTMLParser;
44 class SharedBuffer; 44 class SharedBuffer;
45 45
46 struct SerializedResource; 46 struct SerializedResource;
47 47
48 class MHTMLArchive : public RefCounted<MHTMLArchive> { 48 class MHTMLArchive FINAL : public RefCounted<MHTMLArchive> {
49 public: 49 public:
50 static PassRefPtr<MHTMLArchive> create(); 50 static PassRefPtr<MHTMLArchive> create();
51 static PassRefPtr<MHTMLArchive> create(const KURL&, SharedBuffer*); 51 static PassRefPtr<MHTMLArchive> create(const KURL&, SharedBuffer*);
52 52
53 enum EncodingPolicy { 53 enum EncodingPolicy {
54 UseDefaultEncoding, 54 UseDefaultEncoding,
55 UseBinaryEncoding 55 UseBinaryEncoding
56 }; 56 };
57 57
58 // Binary encoding results in smaller MHTML files but they might not work in other browsers. 58 // Binary encoding results in smaller MHTML files but they might not work in other browsers.
(...skipping 16 matching lines...) Expand all
75 void clearAllSubframeArchivesImpl(Vector<RefPtr<MHTMLArchive> >* clearedArch ives); 75 void clearAllSubframeArchivesImpl(Vector<RefPtr<MHTMLArchive> >* clearedArch ives);
76 76
77 RefPtr<ArchiveResource> m_mainResource; 77 RefPtr<ArchiveResource> m_mainResource;
78 Vector<RefPtr<ArchiveResource> > m_subresources; 78 Vector<RefPtr<ArchiveResource> > m_subresources;
79 Vector<RefPtr<MHTMLArchive> > m_subframeArchives; 79 Vector<RefPtr<MHTMLArchive> > m_subframeArchives;
80 }; 80 };
81 81
82 } 82 }
83 83
84 #endif 84 #endif
OLDNEW
« no previous file with comments | « Source/core/inspector/ScriptProfile.h ('k') | Source/core/page/PageConsole.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698