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

Unified Diff: Source/core/inspector/InspectorResourceContentLoader.h

Issue 338253007: Revert "DevTools: Load document (html) content from disk cache in page agent enabling." (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: 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/core/inspector/InspectorResourceContentLoader.h
diff --git a/Source/core/inspector/InspectorResourceContentLoader.h b/Source/core/inspector/InspectorResourceContentLoader.h
deleted file mode 100644
index cfde2d67346032f10f7e912371783247cb215ee1..0000000000000000000000000000000000000000
--- a/Source/core/inspector/InspectorResourceContentLoader.h
+++ /dev/null
@@ -1,47 +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 InspectorResourceContentLoader_h
-#define InspectorResourceContentLoader_h
-
-#include "core/fetch/RawResource.h"
-#include "core/fetch/StyleSheetResourceClient.h"
-#include "wtf/HashMap.h"
-#include "wtf/Noncopyable.h"
-#include "wtf/Vector.h"
-
-namespace WebCore {
-
-class Page;
-class RawResourceClient;
-class StyleSheetResourceClient;
-class VoidCallback;
-
-class InspectorResourceContentLoader FINAL : private RawResourceClient, private StyleSheetResourceClient {
- WTF_MAKE_NONCOPYABLE(InspectorResourceContentLoader);
- WTF_MAKE_FAST_ALLOCATED;
-public:
- InspectorResourceContentLoader(Page*);
- void addListener(PassOwnPtr<VoidCallback>);
- virtual ~InspectorResourceContentLoader();
- bool hasFinished();
- void stop();
-
-private:
- virtual void notifyFinished(Resource*) OVERRIDE;
- virtual void setCSSStyleSheet(const String& /* href */, const KURL& /* baseURL */, const String& /* charset */, const CSSStyleSheetResource*);
- void resourceFinished(Resource*);
- void checkDone();
- void removeAsClientFromResource(Resource*);
-
- Vector<OwnPtr<VoidCallback> > m_callbacks;
- bool m_allRequestsStarted;
- HashSet<Resource*> m_pendingResources;
- Vector<ResourcePtr<Resource> > m_resources;
-};
-
-} // namespace WebCore
-
-
-#endif // !defined(InspectorResourceContentLoader_h)
« no previous file with comments | « Source/core/inspector/InspectorPageAgent.cpp ('k') | Source/core/inspector/InspectorResourceContentLoader.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698