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

Unified Diff: sky/engine/core/loader/MojoLoader.h

Issue 664573004: Live the dream (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: DEPS Created 6 years, 2 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
« no previous file with comments | « sky/engine/core/loader/DocumentWriter.cpp ('k') | sky/engine/core/loader/MojoLoader.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/core/loader/MojoLoader.h
diff --git a/sky/engine/core/loader/MojoLoader.h b/sky/engine/core/loader/MojoLoader.h
index b04771aebd891a2a74fddc697fe93a1aa372ef8b..ad492024581834b8815fc70cb3c064768f55d033 100644
--- a/sky/engine/core/loader/MojoLoader.h
+++ b/sky/engine/core/loader/MojoLoader.h
@@ -5,17 +5,14 @@
#ifndef MojoLoader_h
#define MojoLoader_h
-#include "base/memory/weak_ptr.h"
-#include "mojo/common/handle_watcher.h"
#include "mojo/public/cpp/system/data_pipe.h"
-#include "platform/fetcher/DataPipeDrainer.h"
#include "platform/weborigin/KURL.h"
namespace blink {
class LocalFrame;
-class MojoLoader : public DataPipeDrainer::Client {
+class MojoLoader {
public:
explicit MojoLoader(LocalFrame&);
@@ -23,12 +20,6 @@ public:
private:
LocalFrame& m_frame;
-
- // From DataPipeDrainer::Client
- void OnDataAvailable(const void* data, size_t numberOfBytes) override;
- void OnDataComplete() override;
-
- OwnPtr<DataPipeDrainer> m_drainJob;
};
}
« no previous file with comments | « sky/engine/core/loader/DocumentWriter.cpp ('k') | sky/engine/core/loader/MojoLoader.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698