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

Side by Side Diff: Source/platform/mhtml/ArchiveResourceCollection.h

Issue 631803002: Replacing the OVERRIDE with override and FINAL with final (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase issue Created 6 years, 2 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
« no previous file with comments | « Source/platform/mhtml/ArchiveResource.h ('k') | Source/platform/mhtml/MHTMLArchive.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) 2008 Apple Inc. All rights reserved. 2 * Copyright (C) 2008 Apple 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 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 7 *
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. 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 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 21 matching lines...) Expand all
32 #include "platform/heap/Handle.h" 32 #include "platform/heap/Handle.h"
33 #include "wtf/HashMap.h" 33 #include "wtf/HashMap.h"
34 #include "wtf/text/WTFString.h" 34 #include "wtf/text/WTFString.h"
35 35
36 namespace blink { 36 namespace blink {
37 37
38 class ArchiveResource; 38 class ArchiveResource;
39 class KURL; 39 class KURL;
40 class MHTMLArchive; 40 class MHTMLArchive;
41 41
42 class PLATFORM_EXPORT ArchiveResourceCollection FINAL : public NoBaseWillBeGarba geCollectedFinalized<ArchiveResourceCollection> { 42 class PLATFORM_EXPORT ArchiveResourceCollection final : public NoBaseWillBeGarba geCollectedFinalized<ArchiveResourceCollection> {
43 WTF_MAKE_NONCOPYABLE(ArchiveResourceCollection); WTF_MAKE_FAST_ALLOCATED_WIL L_BE_REMOVED; 43 WTF_MAKE_NONCOPYABLE(ArchiveResourceCollection); WTF_MAKE_FAST_ALLOCATED_WIL L_BE_REMOVED;
44 public: 44 public:
45 static PassOwnPtrWillBeRawPtr<ArchiveResourceCollection> create() 45 static PassOwnPtrWillBeRawPtr<ArchiveResourceCollection> create()
46 { 46 {
47 return adoptPtrWillBeNoop(new ArchiveResourceCollection); 47 return adoptPtrWillBeNoop(new ArchiveResourceCollection);
48 } 48 }
49 49
50 ~ArchiveResourceCollection(); 50 ~ArchiveResourceCollection();
51 51
52 void addResource(PassRefPtrWillBeRawPtr<ArchiveResource>); 52 void addResource(PassRefPtrWillBeRawPtr<ArchiveResource>);
53 void addAllResources(MHTMLArchive*); 53 void addAllResources(MHTMLArchive*);
54 54
55 ArchiveResource* archiveResourceForURL(const KURL&); 55 ArchiveResource* archiveResourceForURL(const KURL&);
56 PassRefPtrWillBeRawPtr<MHTMLArchive> popSubframeArchive(const String& frameN ame, const KURL&); 56 PassRefPtrWillBeRawPtr<MHTMLArchive> popSubframeArchive(const String& frameN ame, const KURL&);
57 57
58 void trace(Visitor*); 58 void trace(Visitor*);
59 59
60 private: 60 private:
61 ArchiveResourceCollection(); 61 ArchiveResourceCollection();
62 62
63 WillBeHeapHashMap<String, RefPtrWillBeMember<ArchiveResource> > m_subresourc es; 63 WillBeHeapHashMap<String, RefPtrWillBeMember<ArchiveResource> > m_subresourc es;
64 WillBeHeapHashMap<String, RefPtrWillBeMember<MHTMLArchive> > m_subframes; 64 WillBeHeapHashMap<String, RefPtrWillBeMember<MHTMLArchive> > m_subframes;
65 }; 65 };
66 66
67 } 67 }
68 68
69 #endif 69 #endif
OLDNEW
« no previous file with comments | « Source/platform/mhtml/ArchiveResource.h ('k') | Source/platform/mhtml/MHTMLArchive.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698