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

Side by Side Diff: Source/platform/mhtml/ArchiveResource.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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2008, 2010 Apple Inc. All rights reserved. 2 * Copyright (C) 2008, 2010 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 20 matching lines...) Expand all
31 31
32 #include "platform/SharedBuffer.h" 32 #include "platform/SharedBuffer.h"
33 #include "platform/heap/Handle.h" 33 #include "platform/heap/Handle.h"
34 #include "platform/network/ResourceResponse.h" 34 #include "platform/network/ResourceResponse.h"
35 #include "platform/weborigin/KURL.h" 35 #include "platform/weborigin/KURL.h"
36 #include "wtf/RefCounted.h" 36 #include "wtf/RefCounted.h"
37 #include "wtf/RefPtr.h" 37 #include "wtf/RefPtr.h"
38 38
39 namespace blink { 39 namespace blink {
40 40
41 class PLATFORM_EXPORT ArchiveResource FINAL : public RefCountedWillBeGarbageColl ectedFinalized<ArchiveResource> { 41 class PLATFORM_EXPORT ArchiveResource final : public RefCountedWillBeGarbageColl ectedFinalized<ArchiveResource> {
42 public: 42 public:
43 static PassRefPtrWillBeRawPtr<ArchiveResource> create(PassRefPtr<SharedBuffe r>, const KURL&, const ResourceResponse&); 43 static PassRefPtrWillBeRawPtr<ArchiveResource> create(PassRefPtr<SharedBuffe r>, const KURL&, const ResourceResponse&);
44 static PassRefPtrWillBeRawPtr<ArchiveResource> create(PassRefPtr<SharedBuffe r>, const KURL&, 44 static PassRefPtrWillBeRawPtr<ArchiveResource> create(PassRefPtr<SharedBuffe r>, const KURL&,
45 const AtomicString& mimeType, const AtomicString& textEncoding, const St ring& frameName, 45 const AtomicString& mimeType, const AtomicString& textEncoding, const St ring& frameName,
46 const ResourceResponse& = ResourceResponse()); 46 const ResourceResponse& = ResourceResponse());
47 47
48 ~ArchiveResource(); 48 ~ArchiveResource();
49 49
50 const KURL& url() const { return m_url; } 50 const KURL& url() const { return m_url; }
51 const ResourceResponse& response() const { return m_response; } 51 const ResourceResponse& response() const { return m_response; }
(...skipping 11 matching lines...) Expand all
63 ResourceResponse m_response; 63 ResourceResponse m_response;
64 RefPtr<SharedBuffer> m_data; 64 RefPtr<SharedBuffer> m_data;
65 AtomicString m_mimeType; 65 AtomicString m_mimeType;
66 AtomicString m_textEncoding; 66 AtomicString m_textEncoding;
67 String m_frameName; 67 String m_frameName;
68 }; 68 };
69 69
70 } 70 }
71 71
72 #endif // ArchiveResource_h 72 #endif // ArchiveResource_h
OLDNEW
« no previous file with comments | « Source/platform/mediastream/RTCOfferOptions.h ('k') | Source/platform/mhtml/ArchiveResourceCollection.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698