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

Side by Side Diff: webkit/api/src/WebURLRequest.cpp

Issue 201026: Add appCacheManifestUrl data member to WebURLResponse, and use it to detect '... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 3 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 | « webkit/api/public/WebURLResponse.h ('k') | webkit/api/src/WebURLResponse.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) 2009 Google Inc. All rights reserved. 2 * Copyright (C) 2009 Google 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 are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * 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 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 207 matching lines...) Expand 10 before | Expand all | Expand 10 after
218 int WebURLRequest::requestorProcessID() const 218 int WebURLRequest::requestorProcessID() const
219 { 219 {
220 return m_private->m_resourceRequest->requestorProcessID(); 220 return m_private->m_resourceRequest->requestorProcessID();
221 } 221 }
222 222
223 void WebURLRequest::setRequestorProcessID(int requestorProcessID) 223 void WebURLRequest::setRequestorProcessID(int requestorProcessID)
224 { 224 {
225 m_private->m_resourceRequest->setRequestorProcessID(requestorProcessID); 225 m_private->m_resourceRequest->setRequestorProcessID(requestorProcessID);
226 } 226 }
227 227
228 int WebURLRequest::appCacheContextID() const 228 int WebURLRequest::appCacheHostID() const
229 { 229 {
230 return m_private->m_resourceRequest->appCacheContextID(); 230 return m_private->m_resourceRequest->appCacheHostID();
231 } 231 }
232 232
233 void WebURLRequest::setAppCacheContextID(int appCacheContextID) 233 void WebURLRequest::setAppCacheHostID(int appCacheHostID)
234 { 234 {
235 m_private->m_resourceRequest->setAppCacheContextID(appCacheContextID); 235 m_private->m_resourceRequest->setAppCacheHostID(appCacheHostID);
236 } 236 }
237 237
238 ResourceRequest& WebURLRequest::toMutableResourceRequest() 238 ResourceRequest& WebURLRequest::toMutableResourceRequest()
239 { 239 {
240 ASSERT(m_private); 240 ASSERT(m_private);
241 ASSERT(m_private->m_resourceRequest); 241 ASSERT(m_private->m_resourceRequest);
242 242
243 return *m_private->m_resourceRequest; 243 return *m_private->m_resourceRequest;
244 } 244 }
245 245
(...skipping 10 matching lines...) Expand all
256 // Subclasses may call this directly so a self-assignment check is needed 256 // Subclasses may call this directly so a self-assignment check is needed
257 // here as well as in the public assign method. 257 // here as well as in the public assign method.
258 if (m_private == p) 258 if (m_private == p)
259 return; 259 return;
260 if (m_private) 260 if (m_private)
261 m_private->dispose(); 261 m_private->dispose();
262 m_private = p; 262 m_private = p;
263 } 263 }
264 264
265 } // namespace WebKit 265 } // namespace WebKit
OLDNEW
« no previous file with comments | « webkit/api/public/WebURLResponse.h ('k') | webkit/api/src/WebURLResponse.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698