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

Side by Side Diff: chrome/renderer/security_filter_peer.h

Issue 216913002: Extract SyncLoadResponse struct from ResourceLoaderBridge. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: chrome fixes Created 6 years, 8 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
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 CHROME_RENDERER_SECURITY_FILTER_PEER_H_ 5 #ifndef CHROME_RENDERER_SECURITY_FILTER_PEER_H_
6 #define CHROME_RENDERER_SECURITY_FILTER_PEER_H_ 6 #define CHROME_RENDERER_SECURITY_FILTER_PEER_H_
7 7
8 #include "webkit/child/resource_loader_bridge.h" 8 #include "webkit/child/resource_loader_bridge.h"
9 #include "webkit/common/resource_response_info.h"
9 #include "webkit/common/resource_type.h" 10 #include "webkit/common/resource_type.h"
10 11
11 // The SecurityFilterPeer is a proxy to a 12 // The SecurityFilterPeer is a proxy to a
12 // webkit_glue::ResourceLoaderBridge::Peer instance. It is used to pre-process 13 // webkit_glue::ResourceLoaderBridge::Peer instance. It is used to pre-process
13 // unsafe resources (such as mixed-content resource). 14 // unsafe resources (such as mixed-content resource).
14 // Call the factory method CreateSecurityFilterPeer() to obtain an instance of 15 // Call the factory method CreateSecurityFilterPeer() to obtain an instance of
15 // SecurityFilterPeer based on the original Peer. 16 // SecurityFilterPeer based on the original Peer.
16 // NOTE: subclasses should insure they delete themselves at the end of the 17 // NOTE: subclasses should insure they delete themselves at the end of the
17 // OnReceiveComplete call. 18 // OnReceiveComplete call.
18 class SecurityFilterPeer : public webkit_glue::ResourceLoaderBridge::Peer { 19 class SecurityFilterPeer : public webkit_glue::ResourceLoaderBridge::Peer {
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
131 132
132 private: 133 private:
133 webkit_glue::ResourceResponseInfo response_info_; 134 webkit_glue::ResourceResponseInfo response_info_;
134 std::string mime_type_; 135 std::string mime_type_;
135 std::string data_; 136 std::string data_;
136 137
137 DISALLOW_COPY_AND_ASSIGN(ReplaceContentPeer); 138 DISALLOW_COPY_AND_ASSIGN(ReplaceContentPeer);
138 }; 139 };
139 140
140 #endif // CHROME_RENDERER_SECURITY_FILTER_PEER_H_ 141 #endif // CHROME_RENDERER_SECURITY_FILTER_PEER_H_
OLDNEW
« no previous file with comments | « chrome/renderer/extensions/extension_localization_peer.h ('k') | content/child/npapi/plugin_url_fetcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698