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

Side by Side Diff: Source/core/inspector/InspectorFrontendHost.cpp

Issue 23704004: Make WebFileSystemCallbacks not self-destruct, deprecate AsyncFileSystem (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 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
OLDNEW
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
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
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698