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

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

Issue 18722: Revert r8560 due to broken interactive_ui_tests (Closed) Base URL: svn://chrome-svn.corp.google.com/chrome/trunk/src/
Patch Set: Created 11 years, 11 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
« no previous file with comments | « chrome/common/process_watcher.cc ('k') | chrome/views/table_view.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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 5
6 #ifndef CHROME_COMMON_SECURITY_FILTER_PEER_H__ 6 #ifndef CHROME_COMMON_SECURITY_FILTER_PEER_H__
7 #define CHROME_COMMON_SECURITY_FILTER_PEER_H__ 7 #define CHROME_COMMON_SECURITY_FILTER_PEER_H__
8 8
9 #include "chrome/common/render_messages.h" 9 #include "chrome/common/render_messages.h"
10 #include "webkit/glue/resource_loader_bridge.h" 10 #include "webkit/glue/resource_loader_bridge.h"
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 const webkit_glue::ResourceLoaderBridge::ResponseInfo& info, 43 const webkit_glue::ResourceLoaderBridge::ResponseInfo& info,
44 bool content_filtered); 44 bool content_filtered);
45 virtual void OnReceivedData(const char* data, int len); 45 virtual void OnReceivedData(const char* data, int len);
46 virtual void OnCompletedRequest(const URLRequestStatus& status); 46 virtual void OnCompletedRequest(const URLRequestStatus& status);
47 virtual std::string GetURLForDebugging(); 47 virtual std::string GetURLForDebugging();
48 48
49 protected: 49 protected:
50 SecurityFilterPeer(webkit_glue::ResourceLoaderBridge* resource_loader_bridge, 50 SecurityFilterPeer(webkit_glue::ResourceLoaderBridge* resource_loader_bridge,
51 webkit_glue::ResourceLoaderBridge::Peer* peer); 51 webkit_glue::ResourceLoaderBridge::Peer* peer);
52 52
53 webkit_glue::ResourceLoaderBridge* resource_loader_bridge_;
53 webkit_glue::ResourceLoaderBridge::Peer* original_peer_; 54 webkit_glue::ResourceLoaderBridge::Peer* original_peer_;
54 webkit_glue::ResourceLoaderBridge* resource_loader_bridge_;
55 55
56 private: 56 private:
57 DISALLOW_EVIL_CONSTRUCTORS(SecurityFilterPeer); 57 DISALLOW_EVIL_CONSTRUCTORS(SecurityFilterPeer);
58 }; 58 };
59 59
60 // The BufferedPeer reads all the data of the request into an internal buffer. 60 // The BufferedPeer reads all the data of the request into an internal buffer.
61 // Subclasses should implement DataReady() to process the data as necessary. 61 // Subclasses should implement DataReady() to process the data as necessary.
62 class BufferedPeer : public SecurityFilterPeer { 62 class BufferedPeer : public SecurityFilterPeer {
63 public: 63 public:
64 BufferedPeer(webkit_glue::ResourceLoaderBridge* resource_loader_bridge, 64 BufferedPeer(webkit_glue::ResourceLoaderBridge* resource_loader_bridge,
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
127 127
128 protected: 128 protected:
129 virtual bool DataReady(); 129 virtual bool DataReady();
130 130
131 private: 131 private:
132 DISALLOW_EVIL_CONSTRUCTORS(ImageFilterPeer); 132 DISALLOW_EVIL_CONSTRUCTORS(ImageFilterPeer);
133 }; 133 };
134 134
135 #endif // CHROME_COMMON_SECURITY_FILTER_PEER_H__ 135 #endif // CHROME_COMMON_SECURITY_FILTER_PEER_H__
136 136
OLDNEW
« no previous file with comments | « chrome/common/process_watcher.cc ('k') | chrome/views/table_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698