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

Side by Side Diff: Source/core/workers/WorkerScriptLoader.h

Issue 74493002: Removed refcounting from TextResourceDecoder (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@parserthread_step2
Patch Set: Compile fix Created 7 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 | « Source/core/page/EventSource.h ('k') | Source/core/xml/XMLHttpRequest.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) 2009 Apple Inc. All Rights Reserved. 2 * Copyright (C) 2009 Apple Inc. All Rights Reserved.
3 * Copyright (C) 2009, 2011 Google Inc. All Rights Reserved. 3 * Copyright (C) 2009, 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 * 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 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
77 77
78 WorkerScriptLoader(); 78 WorkerScriptLoader();
79 ~WorkerScriptLoader(); 79 ~WorkerScriptLoader();
80 80
81 PassOwnPtr<ResourceRequest> createResourceRequest(); 81 PassOwnPtr<ResourceRequest> createResourceRequest();
82 void notifyFinished(); 82 void notifyFinished();
83 83
84 WorkerScriptLoaderClient* m_client; 84 WorkerScriptLoaderClient* m_client;
85 RefPtr<ThreadableLoader> m_threadableLoader; 85 RefPtr<ThreadableLoader> m_threadableLoader;
86 String m_responseEncoding; 86 String m_responseEncoding;
87 RefPtr<TextResourceDecoder> m_decoder; 87 OwnPtr<TextResourceDecoder> m_decoder;
88 StringBuilder m_script; 88 StringBuilder m_script;
89 KURL m_url; 89 KURL m_url;
90 KURL m_responseURL; 90 KURL m_responseURL;
91 bool m_failed; 91 bool m_failed;
92 unsigned long m_identifier; 92 unsigned long m_identifier;
93 bool m_finishing; 93 bool m_finishing;
94 ResourceRequest::TargetType m_targetType; 94 ResourceRequest::TargetType m_targetType;
95 }; 95 };
96 96
97 } // namespace WebCore 97 } // namespace WebCore
98 98
99 #endif // WorkerScriptLoader_h 99 #endif // WorkerScriptLoader_h
OLDNEW
« no previous file with comments | « Source/core/page/EventSource.h ('k') | Source/core/xml/XMLHttpRequest.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698