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

Side by Side Diff: content/common/resource_dispatcher_delegate.h

Issue 7800015: prune down content_dll change to just the CONTENT_EXPORTS (Closed)
Patch Set: update copyright headers, merge Created 9 years, 3 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
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_COMMON_RESOURCE_DISPATCHER_DELEGATE_H_ 5 #ifndef CONTENT_COMMON_RESOURCE_DISPATCHER_DELEGATE_H_
6 #define CONTENT_COMMON_RESOURCE_DISPATCHER_DELEGATE_H_ 6 #define CONTENT_COMMON_RESOURCE_DISPATCHER_DELEGATE_H_
7 #pragma once 7 #pragma once
8 8
9 #include "content/common/content_export.h"
9 #include "webkit/glue/resource_loader_bridge.h" 10 #include "webkit/glue/resource_loader_bridge.h"
10 11
11 // Interface that allows observing request events and optionally replacing the 12 // Interface that allows observing request events and optionally replacing the
12 // peer. 13 // peer.
13 class ResourceDispatcherDelegate { 14 class CONTENT_EXPORT ResourceDispatcherDelegate {
14 public: 15 public:
15 ResourceDispatcherDelegate(); 16 ResourceDispatcherDelegate();
16 virtual ~ResourceDispatcherDelegate(); 17 virtual ~ResourceDispatcherDelegate();
17 18
18 virtual webkit_glue::ResourceLoaderBridge::Peer* OnRequestComplete( 19 virtual webkit_glue::ResourceLoaderBridge::Peer* OnRequestComplete(
19 webkit_glue::ResourceLoaderBridge::Peer* current_peer, 20 webkit_glue::ResourceLoaderBridge::Peer* current_peer,
20 ResourceType::Type resource_type, 21 ResourceType::Type resource_type,
21 const net::URLRequestStatus& status); 22 const net::URLRequestStatus& status);
22 23
23 virtual webkit_glue::ResourceLoaderBridge::Peer* OnReceivedResponse( 24 virtual webkit_glue::ResourceLoaderBridge::Peer* OnReceivedResponse(
24 webkit_glue::ResourceLoaderBridge::Peer* current_peer, 25 webkit_glue::ResourceLoaderBridge::Peer* current_peer,
25 const std::string& mime_type, 26 const std::string& mime_type,
26 const GURL& url); 27 const GURL& url);
27 }; 28 };
28 29
29 #endif // CONTENT_COMMON_RESOURCE_DISPATCHER_DELEGATE_H_ 30 #endif // CONTENT_COMMON_RESOURCE_DISPATCHER_DELEGATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698