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

Unified Diff: content/common/resource_dispatcher_delegate.h

Issue 7058041: Remove ResourceDispatcherHost dependency on Chrome's LoginHandler and ExternalProtocolHandler. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix deps Created 9 years, 7 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 | « content/common/resource_dispatcher.cc ('k') | content/common/resource_dispatcher_delegate.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/resource_dispatcher_delegate.h
===================================================================
--- content/common/resource_dispatcher_delegate.h (revision 0)
+++ content/common/resource_dispatcher_delegate.h (revision 0)
@@ -0,0 +1,29 @@
+// Copyright (c) 2011 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 CONTENT_COMMON_RESOURCE_DISPATCHER_DELEGATE_H_
+#define CONTENT_COMMON_RESOURCE_DISPATCHER_DELEGATE_H_
+#pragma once
+
+#include "webkit/glue/resource_loader_bridge.h"
+
+// Interface that allows observing request events and optionally replacing the
+// peer.
+class ResourceDispatcherDelegate {
+ public:
+ ResourceDispatcherDelegate();
+ virtual ~ResourceDispatcherDelegate();
+
+ virtual webkit_glue::ResourceLoaderBridge::Peer* OnRequestComplete(
+ webkit_glue::ResourceLoaderBridge::Peer* current_peer,
+ ResourceType::Type resource_type,
+ const net::URLRequestStatus& status);
+
+ virtual webkit_glue::ResourceLoaderBridge::Peer* OnReceivedResponse(
+ webkit_glue::ResourceLoaderBridge::Peer* current_peer,
+ const std::string& mime_type,
+ const GURL& url);
+};
+
+#endif // CONTENT_COMMON_RESOURCE_DISPATCHER_DELEGATE_H_
Property changes on: content\common\resource_dispatcher_delegate.h
___________________________________________________________________
Added: svn:eol-style
+ LF
« no previous file with comments | « content/common/resource_dispatcher.cc ('k') | content/common/resource_dispatcher_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698