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 184 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
195 if (resourceInfo.m_isExplicit) | 195 if (resourceInfo.m_isExplicit) |
196 builder.append("Explicit "); | 196 builder.append("Explicit "); |
197 | 197 |
198 RefPtr<TypeBuilder::ApplicationCache::ApplicationCacheResource> value = Type
Builder::ApplicationCache::ApplicationCacheResource::create() | 198 RefPtr<TypeBuilder::ApplicationCache::ApplicationCacheResource> value = Type
Builder::ApplicationCache::ApplicationCacheResource::create() |
199 .setUrl(resourceInfo.m_resource.string()) | 199 .setUrl(resourceInfo.m_resource.string()) |
200 .setSize(static_cast<int>(resourceInfo.m_size)) | 200 .setSize(static_cast<int>(resourceInfo.m_size)) |
201 .setType(builder.toString()); | 201 .setType(builder.toString()); |
202 return value; | 202 return value; |
203 } | 203 } |
204 | 204 |
| 205 void InspectorApplicationCacheAgent::trace(Visitor* visitor) |
| 206 { |
| 207 visitor->trace(m_pageAgent); |
| 208 InspectorBaseAgent::trace(visitor); |
| 209 } |
| 210 |
205 } // namespace blink | 211 } // namespace blink |
206 | 212 |
OLD | NEW |