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

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

Issue 5648004: Add the "virtual" keyword on method overrides that are missing it. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Missing file Created 10 years 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 | « chrome/common/net/gaia/gaia_auth_fetcher.h ('k') | chrome/plugin/npobject_proxy.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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 #pragma once 8 #pragma once
9 9
10 #include "webkit/glue/resource_loader_bridge.h" 10 #include "webkit/glue/resource_loader_bridge.h"
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
103 ReplaceContentPeer(webkit_glue::ResourceLoaderBridge* resource_loader_bridge, 103 ReplaceContentPeer(webkit_glue::ResourceLoaderBridge* resource_loader_bridge,
104 webkit_glue::ResourceLoaderBridge::Peer* peer, 104 webkit_glue::ResourceLoaderBridge::Peer* peer,
105 const std::string& mime_type, 105 const std::string& mime_type,
106 const std::string& data); 106 const std::string& data);
107 virtual ~ReplaceContentPeer(); 107 virtual ~ReplaceContentPeer();
108 108
109 // ResourceLoaderBridge::Peer Implementation. 109 // ResourceLoaderBridge::Peer Implementation.
110 virtual void OnReceivedResponse( 110 virtual void OnReceivedResponse(
111 const webkit_glue::ResourceResponseInfo& info, 111 const webkit_glue::ResourceResponseInfo& info,
112 bool content_filtered); 112 bool content_filtered);
113 void OnReceivedData(const char* data, int len); 113 virtual void OnReceivedData(const char* data, int len);
114 void OnCompletedRequest(const URLRequestStatus& status, 114 virtual void OnCompletedRequest(const URLRequestStatus& status,
115 const std::string& security_info, 115 const std::string& security_info,
116 const base::Time& completion_time); 116 const base::Time& completion_time);
117 117
118 private: 118 private:
119 webkit_glue::ResourceResponseInfo response_info_; 119 webkit_glue::ResourceResponseInfo response_info_;
120 std::string mime_type_; 120 std::string mime_type_;
121 std::string data_; 121 std::string data_;
122 122
123 DISALLOW_COPY_AND_ASSIGN(ReplaceContentPeer); 123 DISALLOW_COPY_AND_ASSIGN(ReplaceContentPeer);
124 }; 124 };
125 125
126 #endif // CHROME_COMMON_SECURITY_FILTER_PEER_H__ 126 #endif // CHROME_COMMON_SECURITY_FILTER_PEER_H__
OLDNEW
« no previous file with comments | « chrome/common/net/gaia/gaia_auth_fetcher.h ('k') | chrome/plugin/npobject_proxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698