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

Side by Side Diff: Source/modules/filesystem/InspectorFileSystemAgent.cpp

Issue 307943002: Oilpan: Prepare moving InspectorController and InspectorAgents to oilpan. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 5 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) 2011, 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2011, 2012 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * 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 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 579 matching lines...) Expand 10 before | Expand all | Expand 10 after
590 590
591 bool DeleteEntryRequest::didDeleteEntry() 591 bool DeleteEntryRequest::didDeleteEntry()
592 { 592 {
593 reportResult(static_cast<FileError::ErrorCode>(0)); 593 reportResult(static_cast<FileError::ErrorCode>(0));
594 return true; 594 return true;
595 } 595 }
596 596
597 } // anonymous namespace 597 } // anonymous namespace
598 598
599 // static 599 // static
600 PassOwnPtr<InspectorFileSystemAgent> InspectorFileSystemAgent::create(Page* page ) 600 PassOwnPtrWillBeRawPtr<InspectorFileSystemAgent> InspectorFileSystemAgent::creat e(Page* page)
601 { 601 {
602 return adoptPtr(new InspectorFileSystemAgent(page)); 602 return adoptPtrWillBeNoop(new InspectorFileSystemAgent(page));
603 } 603 }
604 604
605 InspectorFileSystemAgent::~InspectorFileSystemAgent() 605 InspectorFileSystemAgent::~InspectorFileSystemAgent()
606 { 606 {
607 } 607 }
608 608
609 void InspectorFileSystemAgent::enable(ErrorString*) 609 void InspectorFileSystemAgent::enable(ErrorString*)
610 { 610 {
611 if (m_enabled) 611 if (m_enabled)
612 return; 612 return;
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after
721 continue; 721 continue;
722 LocalFrame* localFrame = toLocalFrame(frame); 722 LocalFrame* localFrame = toLocalFrame(frame);
723 if (localFrame->document() && localFrame->document()->securityOrigin()-> isSameSchemeHostPort(origin)) 723 if (localFrame->document() && localFrame->document()->securityOrigin()-> isSameSchemeHostPort(origin))
724 return localFrame->document(); 724 return localFrame->document();
725 } 725 }
726 726
727 *error = "No frame is available for the request"; 727 *error = "No frame is available for the request";
728 return 0; 728 return 0;
729 } 729 }
730 730
731 void InspectorFileSystemAgent::trace(Visitor* visitor)
732 {
733 visitor->trace(m_page);
734 InspectorBaseAgent::trace(visitor);
735 }
736
731 } // namespace blink 737 } // namespace blink
OLDNEW
« no previous file with comments | « Source/modules/filesystem/InspectorFileSystemAgent.h ('k') | Source/modules/geolocation/GeolocationController.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698