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

Side by Side Diff: Source/core/fetch/ResourceLoaderHost.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/ResourceLoader.h ('k') | Source/core/fetch/TextResource.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) 2013 Google Inc. All rights reserved. 2 * Copyright (C) 2013 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 19 matching lines...) Expand all
30 30
31 #ifndef ResourceLoaderHost_h 31 #ifndef ResourceLoaderHost_h
32 #define ResourceLoaderHost_h 32 #define ResourceLoaderHost_h
33 33
34 #include "platform/network/ResourceError.h" 34 #include "platform/network/ResourceError.h"
35 #include "platform/network/ResourceLoadPriority.h" 35 #include "platform/network/ResourceLoadPriority.h"
36 36
37 namespace blink { 37 namespace blink {
38 38
39 class Resource; 39 class Resource;
40 class ResourceFetcher;
41 class LocalFrame;
42 class ResourceLoader; 40 class ResourceLoader;
43 class ResourceRequest; 41 class ResourceRequest;
44 class ResourceResponse; 42 class ResourceResponse;
45 43
46 struct FetchInitiatorInfo; 44 struct FetchInitiatorInfo;
47 45
48 class ResourceLoaderHost : public WillBeGarbageCollectedMixin { 46 class ResourceLoaderHost : public WillBeGarbageCollectedMixin {
49 public: 47 public:
50 virtual void incrementRequestCount(const Resource*) = 0; 48 virtual void incrementRequestCount(const Resource*) = 0;
51 virtual void decrementRequestCount(const Resource*) = 0; 49 virtual void decrementRequestCount(const Resource*) = 0;
(...skipping 26 matching lines...) Expand all
78 virtual void derefResourceLoaderHost() = 0; 76 virtual void derefResourceLoaderHost() = 0;
79 77
80 void ref() { refResourceLoaderHost(); } 78 void ref() { refResourceLoaderHost(); }
81 void deref() { derefResourceLoaderHost(); } 79 void deref() { derefResourceLoaderHost(); }
82 #endif 80 #endif
83 }; 81 };
84 82
85 } 83 }
86 84
87 #endif // ResourceLoaderHost_h 85 #endif // ResourceLoaderHost_h
OLDNEW
« no previous file with comments | « Source/core/fetch/ResourceLoader.h ('k') | Source/core/fetch/TextResource.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698