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

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 299 matching lines...) Expand 10 before | Expand all | Expand 10 after
310 310
311 void InspectorFrontendHost::removeFileSystem(const String& fileSystemPath) 311 void InspectorFrontendHost::removeFileSystem(const String& fileSystemPath)
312 { 312 {
313 if (m_client) 313 if (m_client)
314 m_client->removeFileSystem(fileSystemPath); 314 m_client->removeFileSystem(fileSystemPath);
315 } 315 }
316 316
317 PassRefPtr<DOMFileSystem> InspectorFrontendHost::isolatedFileSystem(const String & fileSystemName, const String& rootURL) 317 PassRefPtr<DOMFileSystem> InspectorFrontendHost::isolatedFileSystem(const String & fileSystemName, const String& rootURL)
318 { 318 {
319 ScriptExecutionContext* context = m_frontendPage->mainFrame()->document(); 319 ScriptExecutionContext* context = m_frontendPage->mainFrame()->document();
320 return DOMFileSystem::create(context, fileSystemName, FileSystemTypeIsolated , KURL(ParsedURLString, rootURL), AsyncFileSystem::create()); 320 return DOMFileSystem::create(context, fileSystemName, FileSystemTypeIsolated , KURL(ParsedURLString, rootURL));
321 } 321 }
322 322
323 void InspectorFrontendHost::indexPath(int requestId, const String& fileSystemPat h) 323 void InspectorFrontendHost::indexPath(int requestId, const String& fileSystemPat h)
324 { 324 {
325 if (m_client) 325 if (m_client)
326 m_client->indexPath(requestId, fileSystemPath); 326 m_client->indexPath(requestId, fileSystemPath);
327 } 327 }
328 328
329 void InspectorFrontendHost::stopIndexing(int requestId) 329 void InspectorFrontendHost::stopIndexing(int requestId)
330 { 330 {
(...skipping 21 matching lines...) Expand all
352 { 352 {
353 return false; 353 return false;
354 } 354 }
355 355
356 String InspectorFrontendHost::hiddenPanels() 356 String InspectorFrontendHost::hiddenPanels()
357 { 357 {
358 return ""; 358 return "";
359 } 359 }
360 360
361 } // namespace WebCore 361 } // namespace WebCore
OLDNEW
« no previous file with comments | « Source/core/inspector/InspectorFileSystemAgent.cpp ('k') | Source/core/platform/AsyncFileSystemCallbacks.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698