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

Side by Side Diff: Source/core/loader/DocumentLoader.h

Issue 690793003: Threaded data provider: Support main thread data notifications (Blink side) (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Removed status=experimental from the flag to make the test pass, until chrome side lands Created 5 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/html/parser/HTMLDocumentParser.cpp ('k') | Source/core/loader/DocumentLoader.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) 2006, 2007, 2008, 2009 Apple Inc. All rights reserved. 2 * Copyright (C) 2006, 2007, 2008, 2009 Apple Inc. All rights reserved.
3 * Copyright (C) 2011 Google Inc. All rights reserved. 3 * Copyright (C) 2011 Google Inc. All rights reserved.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions 6 * modification, are permitted provided that the following conditions
7 * are met: 7 * are met:
8 * 8 *
9 * 1. Redistributions of source code must retain the above copyright 9 * 1. Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
111 bool shouldContinueForNavigationPolicy(const ResourceRequest&, ContentSe curityPolicyDisposition shouldCheckMainWorldContentSecurityPolicy, NavigationPol icy = NavigationPolicyCurrentTab, bool isTransitionNavigation = false); 111 bool shouldContinueForNavigationPolicy(const ResourceRequest&, ContentSe curityPolicyDisposition shouldCheckMainWorldContentSecurityPolicy, NavigationPol icy = NavigationPolicyCurrentTab, bool isTransitionNavigation = false);
112 NavigationType navigationType() const { return m_navigationType; } 112 NavigationType navigationType() const { return m_navigationType; }
113 void setNavigationType(NavigationType navigationType) { m_navigationType = navigationType; } 113 void setNavigationType(NavigationType navigationType) { m_navigationType = navigationType; }
114 114
115 void setDefersLoading(bool); 115 void setDefersLoading(bool);
116 116
117 void startLoadingMainResource(); 117 void startLoadingMainResource();
118 void cancelMainResourceLoad(const ResourceError&); 118 void cancelMainResourceLoad(const ResourceError&);
119 119
120 void attachThreadedDataReceiver(PassOwnPtr<blink::WebThreadedDataReceive r>); 120 void attachThreadedDataReceiver(PassOwnPtr<blink::WebThreadedDataReceive r>);
121 void acceptDataFromThreadedReceiver(const char* data, int dataLength, in t encodedDataLength);
121 DocumentLoadTiming* timing() { return &m_documentLoadTiming; } 122 DocumentLoadTiming* timing() { return &m_documentLoadTiming; }
122 123
123 ApplicationCacheHost* applicationCacheHost() const { return m_applicatio nCacheHost.get(); } 124 ApplicationCacheHost* applicationCacheHost() const { return m_applicatio nCacheHost.get(); }
124 125
125 bool isRedirect() const { return m_redirectChain.size() > 1; } 126 bool isRedirect() const { return m_redirectChain.size() > 1; }
126 void clearRedirectChain(); 127 void clearRedirectChain();
127 void appendRedirect(const KURL&); 128 void appendRedirect(const KURL&);
128 129
129 PassRefPtr<ContentSecurityPolicy> releaseContentSecurityPolicy() { retur n m_contentSecurityPolicy.release(); } 130 PassRefPtr<ContentSecurityPolicy> releaseContentSecurityPolicy() { retur n m_contentSecurityPolicy.release(); }
130 131
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
208 double m_timeOfLastDataReceived; 209 double m_timeOfLastDataReceived;
209 210
210 friend class ApplicationCacheHost; // for substitute resource delivery 211 friend class ApplicationCacheHost; // for substitute resource delivery
211 OwnPtrWillBePersistent<ApplicationCacheHost> m_applicationCacheHost; 212 OwnPtrWillBePersistent<ApplicationCacheHost> m_applicationCacheHost;
212 213
213 RefPtr<ContentSecurityPolicy> m_contentSecurityPolicy; 214 RefPtr<ContentSecurityPolicy> m_contentSecurityPolicy;
214 }; 215 };
215 } 216 }
216 217
217 #endif // DocumentLoader_h 218 #endif // DocumentLoader_h
OLDNEW
« no previous file with comments | « Source/core/html/parser/HTMLDocumentParser.cpp ('k') | Source/core/loader/DocumentLoader.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698