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

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

Issue 1229743005: Fix virtual/override/final usage in Source/core/{fetch,loader,streams,xmlhttprequest}/. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase Created 5 years, 5 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 | Annotate | Revision Log
« no previous file with comments | « Source/core/fetch/RawResourceTest.cpp ('k') | Source/core/fetch/ScriptResource.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) 2005, 2006, 2011 Apple Inc. All rights reserved. 2 * Copyright (C) 2005, 2006, 2011 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 30 matching lines...) Expand all
41 41
42 class Resource; 42 class Resource;
43 class KURL; 43 class KURL;
44 class ResourceError; 44 class ResourceError;
45 class ResourceFetcher; 45 class ResourceFetcher;
46 class ThreadedDataReceiver; 46 class ThreadedDataReceiver;
47 47
48 class CORE_EXPORT ResourceLoader final : public GarbageCollectedFinalized<Resour ceLoader>, protected WebURLLoaderClient { 48 class CORE_EXPORT ResourceLoader final : public GarbageCollectedFinalized<Resour ceLoader>, protected WebURLLoaderClient {
49 public: 49 public:
50 static ResourceLoader* create(ResourceFetcher*, Resource*, const ResourceReq uest&, const ResourceLoaderOptions&); 50 static ResourceLoader* create(ResourceFetcher*, Resource*, const ResourceReq uest&, const ResourceLoaderOptions&);
51 virtual ~ResourceLoader(); 51 ~ResourceLoader() override;
52 DECLARE_TRACE(); 52 DECLARE_TRACE();
53 53
54 void start(); 54 void start();
55 void changeToSynchronous(); 55 void changeToSynchronous();
56 56
57 void cancel(); 57 void cancel();
58 void cancel(const ResourceError&); 58 void cancel(const ResourceError&);
59 void cancelIfNotFinishing(); 59 void cancelIfNotFinishing();
60 60
61 Resource* cachedResource() { return m_resource; } 61 Resource* cachedResource() { return m_resource; }
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
135 ResourceLoaderState m_state; 135 ResourceLoaderState m_state;
136 136
137 // Used for sanity checking to make sure we don't experience illegal state 137 // Used for sanity checking to make sure we don't experience illegal state
138 // transitions. 138 // transitions.
139 ConnectionState m_connectionState; 139 ConnectionState m_connectionState;
140 }; 140 };
141 141
142 } 142 }
143 143
144 #endif 144 #endif
OLDNEW
« no previous file with comments | « Source/core/fetch/RawResourceTest.cpp ('k') | Source/core/fetch/ScriptResource.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698