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

Unified Diff: Source/web/WebViewImpl.cpp

Issue 324483002: Move LocalFileSystem to hang off LocalFrame instead of Page. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: update per haraken Created 6 years, 6 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 side-by-side diff with in-line comments
Download patch
Index: Source/web/WebViewImpl.cpp
diff --git a/Source/web/WebViewImpl.cpp b/Source/web/WebViewImpl.cpp
index f3c093c2a37dbe3811c44b3143fb8eb487cd7611..90881c2cd160ac83cfa2b3eec2ce55ccfab984cf 100644
--- a/Source/web/WebViewImpl.cpp
+++ b/Source/web/WebViewImpl.cpp
@@ -82,6 +82,7 @@
#include "core/rendering/compositing/RenderLayerCompositor.h"
#include "modules/device_orientation/DeviceOrientationInspectorAgent.h"
#include "modules/encryptedmedia/MediaKeysController.h"
+#include "modules/filesystem/InspectorFileSystemAgent.h"
#include "modules/indexeddb/InspectorIndexedDBAgent.h"
#include "modules/push_messaging/PushController.h"
#include "modules/screen_orientation/ScreenOrientationController.h"
@@ -132,7 +133,6 @@
#include "web/FullscreenController.h"
#include "web/GraphicsLayerFactoryChromium.h"
#include "web/LinkHighlight.h"
-#include "web/LocalFileSystemClient.h"
#include "web/MIDIClientProxy.h"
#include "web/PopupContainer.h"
#include "web/PrerendererClientImpl.h"
@@ -417,7 +417,7 @@ WebViewImpl::WebViewImpl(WebViewClient* client)
provideContextFeaturesTo(*m_page, ContextFeaturesClientImpl::create());
DeviceOrientationInspectorAgent::provideTo(*m_page);
- provideLocalFileSystemTo(*m_page, LocalFileSystemClient::create());
+ m_page->inspectorController().registerModuleAgent(InspectorFileSystemAgent::create(m_page.get()));
provideDatabaseClientTo(*m_page, DatabaseClientImpl::create());
InspectorIndexedDBAgent::provideTo(m_page.get());
provideStorageQuotaClientTo(*m_page, StorageQuotaClientImpl::create());
« Source/modules/filesystem/LocalFileSystem.cpp ('K') | « Source/web/WebLocalFrameImpl.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698