| OLD | NEW |
| 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/filter_policy.h" | 9 #include "chrome/common/render_messages.h" |
| 10 #include "webkit/glue/resource_loader_bridge.h" | 10 #include "webkit/glue/resource_loader_bridge.h" |
| 11 | 11 |
| 12 // The SecurityFilterPeer is a proxy to a | 12 // The SecurityFilterPeer is a proxy to a |
| 13 // webkit_glue::ResourceLoaderBridge::Peer instance. It is used to pre-process | 13 // webkit_glue::ResourceLoaderBridge::Peer instance. It is used to pre-process |
| 14 // unsafe resources (such as mixed-content resource). | 14 // unsafe resources (such as mixed-content resource). |
| 15 // Call the factory method CreateSecurityFilterPeer() to obtain an instance of | 15 // Call the factory method CreateSecurityFilterPeer() to obtain an instance of |
| 16 // SecurityFilterPeer based on the original Peer. | 16 // SecurityFilterPeer based on the original Peer. |
| 17 // 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 |
| 18 // OnReceiveComplete call. | 18 // OnReceiveComplete call. |
| 19 class SecurityFilterPeer : public webkit_glue::ResourceLoaderBridge::Peer { | 19 class SecurityFilterPeer : public webkit_glue::ResourceLoaderBridge::Peer { |
| (...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 |
| OLD | NEW |