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

Side by Side Diff: sky/engine/core/fetch/ResourceLoader.h

Issue 723253004: Remove tons of OILPAN. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 1 month 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 | « sky/engine/core/fetch/Resource.cpp ('k') | sky/engine/core/fetch/ResourceLoader.cpp » ('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 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 final : public RefCounted<ResourceLoader>, protected WebURL LoaderClient { 47 class ResourceLoader final : public RefCounted<ResourceLoader>, protected WebURL LoaderClient {
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 void trace(Visitor*);
52 51
53 void start(); 52 void start();
54 53
55 void cancel(); 54 void cancel();
56 void cancel(const ResourceError&); 55 void cancel(const ResourceError&);
57 void cancelIfNotFinishing(); 56 void cancelIfNotFinishing();
58 57
59 Resource* cachedResource() { return m_resource; } 58 Resource* cachedResource() { return m_resource; }
60 59
61 void releaseResources(); 60 void releaseResources();
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
127 // Used for sanity checking to make sure we don't experience illegal state 126 // Used for sanity checking to make sure we don't experience illegal state
128 // transitions. 127 // transitions.
129 ConnectionState m_connectionState; 128 ConnectionState m_connectionState;
130 129
131 OwnPtr<RequestCountTracker> m_requestCountTracker; 130 OwnPtr<RequestCountTracker> m_requestCountTracker;
132 }; 131 };
133 132
134 } 133 }
135 134
136 #endif 135 #endif
OLDNEW
« no previous file with comments | « sky/engine/core/fetch/Resource.cpp ('k') | sky/engine/core/fetch/ResourceLoader.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698