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

Side by Side Diff: Source/core/fetch/RawResource.h

Issue 605063003: Clean up forward declarations in Source/core/fetch and /loader (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: 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/core/fetch/MemoryCache.h ('k') | Source/core/fetch/Resource.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) 1998 Lars Knoll (knoll@mpi-hd.mpg.de) 2 Copyright (C) 1998 Lars Knoll (knoll@mpi-hd.mpg.de)
3 Copyright (C) 2001 Dirk Mueller <mueller@kde.org> 3 Copyright (C) 2001 Dirk Mueller <mueller@kde.org>
4 Copyright (C) 2006 Samuel Weinig (sam.weinig@gmail.com) 4 Copyright (C) 2006 Samuel Weinig (sam.weinig@gmail.com)
5 Copyright (C) 2004, 2005, 2006, 2007 Apple Inc. All rights reserved. 5 Copyright (C) 2004, 2005, 2006, 2007 Apple Inc. All rights reserved.
6 6
7 This library is free software; you can redistribute it and/or 7 This library is free software; you can redistribute it and/or
8 modify it under the terms of the GNU Library General Public 8 modify it under the terms of the GNU Library General Public
9 License as published by the Free Software Foundation; either 9 License as published by the Free Software Foundation; either
10 version 2 of the License, or (at your option) any later version. 10 version 2 of the License, or (at your option) any later version.
11 11
12 This library is distributed in the hope that it will be useful, 12 This library is distributed in the hope that it will be useful,
13 but WITHOUT ANY WARRANTY; without even the implied warranty of 13 but WITHOUT ANY WARRANTY; without even the implied warranty of
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 Library General Public License for more details. 15 Library General Public License for more details.
16 16
17 You should have received a copy of the GNU Library General Public License 17 You should have received a copy of the GNU Library General Public License
18 along with this library; see the file COPYING.LIB. If not, write to 18 along with this library; see the file COPYING.LIB. If not, write to
19 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, 19 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
20 Boston, MA 02110-1301, USA. 20 Boston, MA 02110-1301, USA.
21 */ 21 */
22 22
23 #ifndef RawResource_h 23 #ifndef RawResource_h
24 #define RawResource_h 24 #define RawResource_h
25 25
26 #include "core/fetch/ResourceClient.h" 26 #include "core/fetch/ResourceClient.h"
27 #include "core/fetch/ResourcePtr.h" 27 #include "core/fetch/ResourcePtr.h"
28 28
29 namespace blink { 29 namespace blink {
30 class RawResourceCallback;
31 class RawResourceClient; 30 class RawResourceClient;
32 31
33 class RawResource FINAL : public Resource { 32 class RawResource FINAL : public Resource {
34 public: 33 public:
35 typedef RawResourceClient ClientType; 34 typedef RawResourceClient ClientType;
36 35
37 RawResource(const ResourceRequest&, Type); 36 RawResource(const ResourceRequest&, Type);
38 37
39 // FIXME: AssociatedURLLoader shouldn't be a DocumentThreadableLoader and th erefore shouldn't 38 // FIXME: AssociatedURLLoader shouldn't be a DocumentThreadableLoader and th erefore shouldn't
40 // use RawResource. However, it is, and it needs to be able to defer loading . 39 // use RawResource. However, it is, and it needs to be able to defer loading .
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
79 virtual void responseReceived(Resource*, const ResourceResponse&) { } 78 virtual void responseReceived(Resource*, const ResourceResponse&) { }
80 virtual void dataReceived(Resource*, const char* /* data */, int /* length * /) { } 79 virtual void dataReceived(Resource*, const char* /* data */, int /* length * /) { }
81 virtual void redirectReceived(Resource*, ResourceRequest&, const ResourceRes ponse&) { } 80 virtual void redirectReceived(Resource*, ResourceRequest&, const ResourceRes ponse&) { }
82 virtual void updateRequest(Resource*, const ResourceRequest&) { } 81 virtual void updateRequest(Resource*, const ResourceRequest&) { }
83 virtual void dataDownloaded(Resource*, int) { } 82 virtual void dataDownloaded(Resource*, int) { }
84 }; 83 };
85 84
86 } 85 }
87 86
88 #endif // RawResource_h 87 #endif // RawResource_h
OLDNEW
« no previous file with comments | « Source/core/fetch/MemoryCache.h ('k') | Source/core/fetch/Resource.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698