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

Unified Diff: Source/modules/serviceworkers/FetchManager.h

Issue 795323003: Move Fetch API releted code to modules/fetch. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years 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 | « Source/modules/serviceworkers/FetchHeaderList.cpp ('k') | Source/modules/serviceworkers/FetchManager.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/serviceworkers/FetchManager.h
diff --git a/Source/modules/serviceworkers/FetchManager.h b/Source/modules/serviceworkers/FetchManager.h
deleted file mode 100644
index a511c3fe15f47ad81bb601abb44ab914ea6cd7e6..0000000000000000000000000000000000000000
--- a/Source/modules/serviceworkers/FetchManager.h
+++ /dev/null
@@ -1,39 +0,0 @@
-// Copyright 2014 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef FetchManager_h
-#define FetchManager_h
-
-#include "bindings/core/v8/ScriptPromise.h"
-#include "wtf/HashSet.h"
-#include "wtf/OwnPtr.h"
-
-namespace blink {
-
-class ExecutionContext;
-class FetchRequestData;
-class ScriptState;
-
-class FetchManager {
-public:
- FetchManager(ExecutionContext*);
- ~FetchManager();
- ScriptPromise fetch(ScriptState*, const FetchRequestData*);
- void stop();
- bool isStopped() const { return m_isStopped; }
-
-private:
- class Loader;
-
- // Removes loader from |m_loaders|.
- void onLoaderFinished(Loader*);
-
- ExecutionContext* m_executionContext;
- HashSet<OwnPtr<Loader> > m_loaders;
- bool m_isStopped;
-};
-
-} // namespace blink
-
-#endif // FetchManager_h
« no previous file with comments | « Source/modules/serviceworkers/FetchHeaderList.cpp ('k') | Source/modules/serviceworkers/FetchManager.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698