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

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

Issue 134443002: Update fetch / loader classes to use OVERRIDE / FINAL when needed (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: No OVERRIDE / FINAL in web Created 6 years, 11 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/ResourceFetcher.h ('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 26 matching lines...) Expand all
37 #include "wtf/RefCounted.h" 37 #include "wtf/RefCounted.h"
38 38
39 namespace WebCore { 39 namespace WebCore {
40 40
41 class Resource; 41 class Resource;
42 class KURL; 42 class KURL;
43 class ResourceError; 43 class ResourceError;
44 class ResourceResponse; 44 class ResourceResponse;
45 class ResourceLoaderHost; 45 class ResourceLoaderHost;
46 46
47 class ResourceLoader : public RefCounted<ResourceLoader>, protected blink::WebUR LLoaderClient { 47 class ResourceLoader FINAL : public RefCounted<ResourceLoader>, protected blink: :WebURLLoaderClient {
48 public: 48 public:
49 static PassRefPtr<ResourceLoader> create(ResourceLoaderHost*, Resource*, con st ResourceRequest&, const ResourceLoaderOptions&); 49 static PassRefPtr<ResourceLoader> create(ResourceLoaderHost*, Resource*, con st ResourceRequest&, const ResourceLoaderOptions&);
50 virtual ~ResourceLoader(); 50 virtual ~ResourceLoader();
51 51
52 void start(); 52 void start();
53 void changeToSynchronous(); 53 void changeToSynchronous();
54 54
55 void cancel(); 55 void cancel();
56 void cancel(const ResourceError&); 56 void cancel(const ResourceError&);
57 void cancelIfNotFinishing(); 57 void cancelIfNotFinishing();
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
134 // Used for sanity checking to make sure we don't experience illegal state 134 // Used for sanity checking to make sure we don't experience illegal state
135 // transitions. 135 // transitions.
136 ConnectionState m_connectionState; 136 ConnectionState m_connectionState;
137 137
138 OwnPtr<RequestCountTracker> m_requestCountTracker; 138 OwnPtr<RequestCountTracker> m_requestCountTracker;
139 }; 139 };
140 140
141 } 141 }
142 142
143 #endif 143 #endif
OLDNEW
« no previous file with comments | « Source/core/fetch/ResourceFetcher.h ('k') | Source/core/fetch/ScriptResource.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698