OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2010 Apple Inc. All rights reserved. | 2 * Copyright (C) 2010 Apple Inc. All rights reserved. |
3 * Copyright (C) 2010 Google Inc. All rights reserved. | 3 * Copyright (C) 2010 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 182 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
193 if (resourceInfo.m_isExplicit) | 193 if (resourceInfo.m_isExplicit) |
194 builder.append("Explicit "); | 194 builder.append("Explicit "); |
195 | 195 |
196 RefPtr<TypeBuilder::ApplicationCache::ApplicationCacheResource> value = Type
Builder::ApplicationCache::ApplicationCacheResource::create() | 196 RefPtr<TypeBuilder::ApplicationCache::ApplicationCacheResource> value = Type
Builder::ApplicationCache::ApplicationCacheResource::create() |
197 .setUrl(resourceInfo.m_resource.string()) | 197 .setUrl(resourceInfo.m_resource.string()) |
198 .setSize(static_cast<int>(resourceInfo.m_size)) | 198 .setSize(static_cast<int>(resourceInfo.m_size)) |
199 .setType(builder.toString()); | 199 .setType(builder.toString()); |
200 return value; | 200 return value; |
201 } | 201 } |
202 | 202 |
| 203 void InspectorApplicationCacheAgent::trace(Visitor* visitor) |
| 204 { |
| 205 visitor->trace(m_pageAgent); |
| 206 InspectorBaseAgent::trace(visitor); |
| 207 } |
| 208 |
203 } // namespace WebCore | 209 } // namespace WebCore |
204 | 210 |
OLD | NEW |