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

Side by Side 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, 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « content/common/resource_dispatcher.cc ('k') | content/common/resource_dispatcher_delegate.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Property Changes:
Added: svn:eol-style
+ LF
OLDNEW
(Empty)
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef CONTENT_COMMON_RESOURCE_DISPATCHER_DELEGATE_H_
6 #define CONTENT_COMMON_RESOURCE_DISPATCHER_DELEGATE_H_
7 #pragma once
8
9 #include "webkit/glue/resource_loader_bridge.h"
10
11 // Interface that allows observing request events and optionally replacing the
12 // peer.
13 class ResourceDispatcherDelegate {
14 public:
15 ResourceDispatcherDelegate();
16 virtual ~ResourceDispatcherDelegate();
17
18 virtual webkit_glue::ResourceLoaderBridge::Peer* OnRequestComplete(
19 webkit_glue::ResourceLoaderBridge::Peer* current_peer,
20 ResourceType::Type resource_type,
21 const net::URLRequestStatus& status);
22
23 virtual webkit_glue::ResourceLoaderBridge::Peer* OnReceivedResponse(
24 webkit_glue::ResourceLoaderBridge::Peer* current_peer,
25 const std::string& mime_type,
26 const GURL& url);
27 };
28
29 #endif // CONTENT_COMMON_RESOURCE_DISPATCHER_DELEGATE_H_
OLDNEW
« 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