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

Side by Side Diff: third_party/WebKit/Source/platform/mhtml/ArchiveResource.h

Issue 1686483002: Oilpan: Remove most WillBe types from the code base (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 /* 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 GarbageCollectedFinalized<A rchiveResource> {
42 public: 42 public:
43 static PassRefPtrWillBeRawPtr<ArchiveResource> create( 43 static RawPtr<ArchiveResource> create(
44 PassRefPtr<SharedBuffer>, 44 PassRefPtr<SharedBuffer>,
45 const KURL&, 45 const KURL&,
46 const String& contentId, 46 const String& contentId,
47 const AtomicString& mimeType, 47 const AtomicString& mimeType,
48 const AtomicString& textEncoding); 48 const AtomicString& textEncoding);
49 49
50 ~ArchiveResource(); 50 ~ArchiveResource();
51 51
52 const KURL& url() const { return m_url; } 52 const KURL& url() const { return m_url; }
53 const String& contentID() const { return m_contentID; } 53 const String& contentID() const { return m_contentID; }
(...skipping 16 matching lines...) Expand all
70 String m_contentID; 70 String m_contentID;
71 ResourceResponse m_response; 71 ResourceResponse m_response;
72 RefPtr<SharedBuffer> m_data; 72 RefPtr<SharedBuffer> m_data;
73 AtomicString m_mimeType; 73 AtomicString m_mimeType;
74 AtomicString m_textEncoding; 74 AtomicString m_textEncoding;
75 }; 75 };
76 76
77 } // namespace blink 77 } // namespace blink
78 78
79 #endif // ArchiveResource_h 79 #endif // ArchiveResource_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698