| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2007, 2008 Apple Inc. All rights reserved. | 2 * Copyright (C) 2007, 2008 Apple Inc. All rights reserved. |
| 3 * Copyright (C) 2008 Matt Lilek <webkit@mattlilek.com> | 3 * Copyright (C) 2008 Matt Lilek <webkit@mattlilek.com> |
| 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 289 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 300 | 300 |
| 301 void InspectorFrontendHost::removeFileSystem(const String& fileSystemPath) | 301 void InspectorFrontendHost::removeFileSystem(const String& fileSystemPath) |
| 302 { | 302 { |
| 303 if (m_client) | 303 if (m_client) |
| 304 m_client->removeFileSystem(fileSystemPath); | 304 m_client->removeFileSystem(fileSystemPath); |
| 305 } | 305 } |
| 306 | 306 |
| 307 PassRefPtr<DOMFileSystem> InspectorFrontendHost::isolatedFileSystem(const String
& fileSystemName, const String& rootURL) | 307 PassRefPtr<DOMFileSystem> InspectorFrontendHost::isolatedFileSystem(const String
& fileSystemName, const String& rootURL) |
| 308 { | 308 { |
| 309 ScriptExecutionContext* context = m_frontendPage->mainFrame()->document(); | 309 ScriptExecutionContext* context = m_frontendPage->mainFrame()->document(); |
| 310 return DOMFileSystem::create(context, fileSystemName, FileSystemTypeIsolated
, KURL(ParsedURLString, rootURL), AsyncFileSystem::create()); | 310 return DOMFileSystem::create(context, fileSystemName, FileSystemTypeIsolated
, KURL(ParsedURLString, rootURL)); |
| 311 } | 311 } |
| 312 | 312 |
| 313 void InspectorFrontendHost::indexPath(int requestId, const String& fileSystemPat
h) | 313 void InspectorFrontendHost::indexPath(int requestId, const String& fileSystemPat
h) |
| 314 { | 314 { |
| 315 if (m_client) | 315 if (m_client) |
| 316 m_client->indexPath(requestId, fileSystemPath); | 316 m_client->indexPath(requestId, fileSystemPath); |
| 317 } | 317 } |
| 318 | 318 |
| 319 void InspectorFrontendHost::stopIndexing(int requestId) | 319 void InspectorFrontendHost::stopIndexing(int requestId) |
| 320 { | 320 { |
| (...skipping 21 matching lines...) Expand all Loading... |
| 342 { | 342 { |
| 343 return false; | 343 return false; |
| 344 } | 344 } |
| 345 | 345 |
| 346 String InspectorFrontendHost::hiddenPanels() | 346 String InspectorFrontendHost::hiddenPanels() |
| 347 { | 347 { |
| 348 return ""; | 348 return ""; |
| 349 } | 349 } |
| 350 | 350 |
| 351 } // namespace WebCore | 351 } // namespace WebCore |
| OLD | NEW |